summaryrefslogtreecommitdiffstats
path: root/include/asm-xtensa
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-24 22:53:27 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-24 22:53:27 +0200
commitb0a62817961796f6dcef5f316134d8bc7279bf6e (patch)
tree753dfba8a021be728d2a59ae4e0e16f4a3cd2f86 /include/asm-xtensa
parent37c5ef56989717d871d048f98fb6411e7a17c43d (diff)
downloadlinux-b0a62817961796f6dcef5f316134d8bc7279bf6e.tar.bz2
ide: fix <asm-xtensa/ide.h>
* Add missing <asm-generic/ide_iops.h> include. While at it: * Remove needless ide_default_{irq,io_base}() inlines. Cc: Chris Zankel <chris@zankel.net> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/asm-xtensa')
-rw-r--r--include/asm-xtensa/ide.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/include/asm-xtensa/ide.h b/include/asm-xtensa/ide.h
index 6b912742a42d..cb995701c42d 100644
--- a/include/asm-xtensa/ide.h
+++ b/include/asm-xtensa/ide.h
@@ -19,17 +19,8 @@
# define MAX_HWIFS 1
#endif
-static __inline__ int ide_default_irq(unsigned long base)
-{
- /* Unsupported! */
- return 0;
-}
-
-static __inline__ unsigned long ide_default_io_base(int index)
-{
- /* Unsupported! */
- return 0;
-}
+#include <asm-generic/ide_iops.h>
#endif /* __KERNEL__ */
+
#endif /* _XTENSA_IDE_H */