ide: fix <asm-xtensa/ide.h>
PATCH 1/10 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 <[email protected]>
Signed-off-by Bartlomiej Zolnierkiewicz <[email protected]>
--- include/asm-xtensa/ide.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-)
include/asm-xtensa/ide.h +2 -11
@@ -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 */