diff options
Diffstat (limited to 'include/linux/bcma/bcma_driver_mips.h')
-rw-r--r-- | include/linux/bcma/bcma_driver_mips.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/linux/bcma/bcma_driver_mips.h b/include/linux/bcma/bcma_driver_mips.h index 0baf8a56b794..fb61f3fb4ddb 100644 --- a/include/linux/bcma/bcma_driver_mips.h +++ b/include/linux/bcma/bcma_driver_mips.h | |||
@@ -28,6 +28,7 @@ | |||
28 | #define BCMA_MIPS_MIPS74K_GPIOEN 0x0048 | 28 | #define BCMA_MIPS_MIPS74K_GPIOEN 0x0048 |
29 | #define BCMA_MIPS_MIPS74K_CLKCTLST 0x01E0 | 29 | #define BCMA_MIPS_MIPS74K_CLKCTLST 0x01E0 |
30 | 30 | ||
31 | #define BCMA_MIPS_OOBSELINA74 0x004 | ||
31 | #define BCMA_MIPS_OOBSELOUTA30 0x100 | 32 | #define BCMA_MIPS_OOBSELOUTA30 0x100 |
32 | 33 | ||
33 | struct bcma_device; | 34 | struct bcma_device; |
@@ -36,19 +37,23 @@ struct bcma_drv_mips { | |||
36 | struct bcma_device *core; | 37 | struct bcma_device *core; |
37 | u8 setup_done:1; | 38 | u8 setup_done:1; |
38 | u8 early_setup_done:1; | 39 | u8 early_setup_done:1; |
39 | unsigned int assigned_irqs; | ||
40 | }; | 40 | }; |
41 | 41 | ||
42 | #ifdef CONFIG_BCMA_DRIVER_MIPS | 42 | #ifdef CONFIG_BCMA_DRIVER_MIPS |
43 | extern void bcma_core_mips_init(struct bcma_drv_mips *mcore); | 43 | extern void bcma_core_mips_init(struct bcma_drv_mips *mcore); |
44 | extern void bcma_core_mips_early_init(struct bcma_drv_mips *mcore); | 44 | extern void bcma_core_mips_early_init(struct bcma_drv_mips *mcore); |
45 | |||
46 | extern unsigned int bcma_core_irq(struct bcma_device *core); | ||
45 | #else | 47 | #else |
46 | static inline void bcma_core_mips_init(struct bcma_drv_mips *mcore) { } | 48 | static inline void bcma_core_mips_init(struct bcma_drv_mips *mcore) { } |
47 | static inline void bcma_core_mips_early_init(struct bcma_drv_mips *mcore) { } | 49 | static inline void bcma_core_mips_early_init(struct bcma_drv_mips *mcore) { } |
50 | |||
51 | static inline unsigned int bcma_core_irq(struct bcma_device *core) | ||
52 | { | ||
53 | return 0; | ||
54 | } | ||
48 | #endif | 55 | #endif |
49 | 56 | ||
50 | extern u32 bcma_cpu_clock(struct bcma_drv_mips *mcore); | 57 | extern u32 bcma_cpu_clock(struct bcma_drv_mips *mcore); |
51 | 58 | ||
52 | extern unsigned int bcma_core_mips_irq(struct bcma_device *dev); | ||
53 | |||
54 | #endif /* LINUX_BCMA_DRIVER_MIPS_H_ */ | 59 | #endif /* LINUX_BCMA_DRIVER_MIPS_H_ */ |