diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-24 16:53:27 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-24 16:53:27 -0400 |
commit | b0a62817961796f6dcef5f316134d8bc7279bf6e (patch) | |
tree | 753dfba8a021be728d2a59ae4e0e16f4a3cd2f86 | |
parent | 37c5ef56989717d871d048f98fb6411e7a17c43d (diff) |
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>
-rw-r--r-- | include/asm-xtensa/ide.h | 13 |
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 @@ | |||
19 | # define MAX_HWIFS 1 | 19 | # define MAX_HWIFS 1 |
20 | #endif | 20 | #endif |
21 | 21 | ||
22 | static __inline__ int ide_default_irq(unsigned long base) | 22 | #include <asm-generic/ide_iops.h> |
23 | { | ||
24 | /* Unsupported! */ | ||
25 | return 0; | ||
26 | } | ||
27 | |||
28 | static __inline__ unsigned long ide_default_io_base(int index) | ||
29 | { | ||
30 | /* Unsupported! */ | ||
31 | return 0; | ||
32 | } | ||
33 | 23 | ||
34 | #endif /* __KERNEL__ */ | 24 | #endif /* __KERNEL__ */ |
25 | |||
35 | #endif /* _XTENSA_IDE_H */ | 26 | #endif /* _XTENSA_IDE_H */ |