parport.h (61c7a080a5a061c976988fd4b844dfb468dda255) | parport.h (4018294b53d1dae026880e45f174c1cc63b5d435) |
---|---|
1/* parport.h: sparc64 specific parport initialization and dma. 2 * 3 * Copyright (C) 1999 Eddie C. Dost (ecd@skynet.be) 4 */ 5 6#ifndef _ASM_SPARC64_PARPORT_H 7#define _ASM_SPARC64_PARPORT_H 1 8 --- 218 unchanged lines hidden (view full) --- 227 { 228 .name = "parallel", 229 .compatible = "ns87317-ecpp", 230 }, 231 {}, 232}; 233 234static struct of_platform_driver ecpp_driver = { | 1/* parport.h: sparc64 specific parport initialization and dma. 2 * 3 * Copyright (C) 1999 Eddie C. Dost (ecd@skynet.be) 4 */ 5 6#ifndef _ASM_SPARC64_PARPORT_H 7#define _ASM_SPARC64_PARPORT_H 1 8 --- 218 unchanged lines hidden (view full) --- 227 { 228 .name = "parallel", 229 .compatible = "ns87317-ecpp", 230 }, 231 {}, 232}; 233 234static struct of_platform_driver ecpp_driver = { |
235 .name = "ecpp", 236 .match_table = ecpp_match, | 235 .driver = { 236 .name = "ecpp", 237 .owner = THIS_MODULE, 238 .of_match_table = ecpp_match, 239 }, |
237 .probe = ecpp_probe, 238 .remove = __devexit_p(ecpp_remove), 239}; 240 241static int parport_pc_find_nonpci_ports(int autoirq, int autodma) 242{ 243 of_register_driver(&ecpp_driver, &of_bus_type); 244 245 return 0; 246} 247 248#endif /* !(_ASM_SPARC64_PARPORT_H */ | 240 .probe = ecpp_probe, 241 .remove = __devexit_p(ecpp_remove), 242}; 243 244static int parport_pc_find_nonpci_ports(int autoirq, int autodma) 245{ 246 of_register_driver(&ecpp_driver, &of_bus_type); 247 248 return 0; 249} 250 251#endif /* !(_ASM_SPARC64_PARPORT_H */ |