| 1 | #ifndef _SVIP_DEVICES_H__ |
| 2 | #define _SVIP_DEVICES_H__ |
| 3 | |
| 4 | #include <linux/mtd/physmap.h> |
| 5 | #include <linux/spi/spi.h> |
| 6 | #include <linux/spi/flash.h> |
| 7 | #include <svip_mux.h> |
| 8 | #include "../devices.h" |
| 9 | |
| 10 | extern void __init svip_register_asc(int port); |
| 11 | extern void __init svip_register_eth(void); |
| 12 | extern void __init svip_register_virtual_eth(void); |
| 13 | extern void __init svip_register_spi(void); |
| 14 | extern void __init svip_register_spi_flash(struct spi_board_info *bdinfo); |
| 15 | extern void __init svip_register_gpio(void); |
| 16 | extern void __init svip_register_mux(const struct ltq_mux_pin mux_p0[LTQ_MUX_P0_PINS], |
| 17 | const struct ltq_mux_pin mux_p1[LTQ_MUX_P1_PINS], |
| 18 | const struct ltq_mux_pin mux_p2[LTQ_MUX_P2_PINS], |
| 19 | const struct ltq_mux_pin mux_p3[LTQ_MUX_P3_PINS], |
| 20 | const struct ltq_mux_pin mux_p4[LTQ_MUX_P4_PINS]); |
| 21 | extern void __init svip_register_nand(void); |
| 22 | |
| 23 | #endif |
| 24 | |