diff options
Diffstat (limited to 'drivers/ide/au1xxx-ide.c')
-rw-r--r-- | drivers/ide/au1xxx-ide.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/au1xxx-ide.c b/drivers/ide/au1xxx-ide.c index 549bbb2755a8..1bfb43d0d3a8 100644 --- a/drivers/ide/au1xxx-ide.c +++ b/drivers/ide/au1xxx-ide.c | |||
@@ -50,7 +50,7 @@ static _auide_hwif auide_hwif; | |||
50 | 50 | ||
51 | #if defined(CONFIG_BLK_DEV_IDE_AU1XXX_PIO_DBDMA) | 51 | #if defined(CONFIG_BLK_DEV_IDE_AU1XXX_PIO_DBDMA) |
52 | 52 | ||
53 | void auide_insw(unsigned long port, void *addr, u32 count) | 53 | static inline void auide_insw(unsigned long port, void *addr, u32 count) |
54 | { | 54 | { |
55 | _auide_hwif *ahwif = &auide_hwif; | 55 | _auide_hwif *ahwif = &auide_hwif; |
56 | chan_tab_t *ctp; | 56 | chan_tab_t *ctp; |
@@ -68,7 +68,7 @@ void auide_insw(unsigned long port, void *addr, u32 count) | |||
68 | ctp->cur_ptr = au1xxx_ddma_get_nextptr_virt(dp); | 68 | ctp->cur_ptr = au1xxx_ddma_get_nextptr_virt(dp); |
69 | } | 69 | } |
70 | 70 | ||
71 | void auide_outsw(unsigned long port, void *addr, u32 count) | 71 | static inline void auide_outsw(unsigned long port, void *addr, u32 count) |
72 | { | 72 | { |
73 | _auide_hwif *ahwif = &auide_hwif; | 73 | _auide_hwif *ahwif = &auide_hwif; |
74 | chan_tab_t *ctp; | 74 | chan_tab_t *ctp; |