devices/ccat/module.c
branchstable-1.5
changeset 2684 56587a22d05c
parent 2640 b11e1014edfe
equal deleted inserted replaced
2683:1079c149f22c 2684:56587a22d05c
    52 static const struct ccat_driver *const drivers[] = {
    52 static const struct ccat_driver *const drivers[] = {
    53 #ifdef CONFIG_PCI
    53 #ifdef CONFIG_PCI
    54 	&eth_dma_driver,	/* load Ethernet MAC/EtherCAT Master driver with DMA support from netdev.c */
    54 	&eth_dma_driver,	/* load Ethernet MAC/EtherCAT Master driver with DMA support from netdev.c */
    55 #endif
    55 #endif
    56 	&eth_eim_driver,	/* load Ethernet MAC/EtherCAT Master driver without DMA support from */
    56 	&eth_eim_driver,	/* load Ethernet MAC/EtherCAT Master driver without DMA support from */
       
    57 #ifdef CONFIG_GPIO
    57 	&gpio_driver,		/* load GPIO driver from gpio.c */
    58 	&gpio_driver,		/* load GPIO driver from gpio.c */
       
    59 #endif
    58 	&sram_driver,		/* load SRAM driver from sram.c */
    60 	&sram_driver,		/* load SRAM driver from sram.c */
    59 	&update_driver,		/* load Update driver from update.c */
    61 	&update_driver,		/* load Update driver from update.c */
    60 };
    62 };
    61 
    63 
    62 static int __init ccat_class_init(struct ccat_class *base)
    64 static int __init ccat_class_init(struct ccat_class *base)