diff options
Diffstat (limited to 'include/asm-cris/arch-v10/ide.h')
-rw-r--r-- | include/asm-cris/arch-v10/ide.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-cris/arch-v10/ide.h b/include/asm-cris/arch-v10/ide.h index 8cf2d7cb22ac..78b301ed7b12 100644 --- a/include/asm-cris/arch-v10/ide.h +++ b/include/asm-cris/arch-v10/ide.h | |||
@@ -25,7 +25,7 @@ | |||
25 | 25 | ||
26 | #define MAX_HWIFS 4 | 26 | #define MAX_HWIFS 4 |
27 | 27 | ||
28 | extern __inline__ int ide_default_irq(unsigned long base) | 28 | static inline int ide_default_irq(unsigned long base) |
29 | { | 29 | { |
30 | /* all IDE busses share the same IRQ, number 4. | 30 | /* all IDE busses share the same IRQ, number 4. |
31 | * this has the side-effect that ide-probe.c will cluster our 4 interfaces | 31 | * this has the side-effect that ide-probe.c will cluster our 4 interfaces |
@@ -35,7 +35,7 @@ extern __inline__ int ide_default_irq(unsigned long base) | |||
35 | return 4; | 35 | return 4; |
36 | } | 36 | } |
37 | 37 | ||
38 | extern __inline__ unsigned long ide_default_io_base(int index) | 38 | static inline unsigned long ide_default_io_base(int index) |
39 | { | 39 | { |
40 | /* we have no real I/O base address per interface, since all go through the | 40 | /* we have no real I/O base address per interface, since all go through the |
41 | * same register. but in a bitfield in that register, we have the i/f number. | 41 | * same register. but in a bitfield in that register, we have the i/f number. |
@@ -54,7 +54,7 @@ extern __inline__ unsigned long ide_default_io_base(int index) | |||
54 | * of the ide_default_io_base call above. ctrl_port will be 0, but that is don't care for us. | 54 | * of the ide_default_io_base call above. ctrl_port will be 0, but that is don't care for us. |
55 | */ | 55 | */ |
56 | 56 | ||
57 | extern __inline__ void ide_init_hwif_ports(hw_regs_t *hw, unsigned long data_port, unsigned long ctrl_port, int *irq) | 57 | static inline void ide_init_hwif_ports(hw_regs_t *hw, unsigned long data_port, unsigned long ctrl_port, int *irq) |
58 | { | 58 | { |
59 | int i; | 59 | int i; |
60 | 60 | ||
@@ -77,7 +77,7 @@ extern __inline__ void ide_init_hwif_ports(hw_regs_t *hw, unsigned long data_por | |||
77 | hw->io_ports[IDE_IRQ_OFFSET] = 0; | 77 | hw->io_ports[IDE_IRQ_OFFSET] = 0; |
78 | } | 78 | } |
79 | 79 | ||
80 | extern __inline__ void ide_init_default_hwifs(void) | 80 | static inline void ide_init_default_hwifs(void) |
81 | { | 81 | { |
82 | hw_regs_t hw; | 82 | hw_regs_t hw; |
83 | int index; | 83 | int index; |