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: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 37c5ef56
...@@ -19,17 +19,8 @@ ...@@ -19,17 +19,8 @@
# define MAX_HWIFS 1 # define MAX_HWIFS 1
#endif #endif
static __inline__ int ide_default_irq(unsigned long base) #include <asm-generic/ide_iops.h>
{
/* Unsupported! */
return 0;
}
static __inline__ unsigned long ide_default_io_base(int index)
{
/* Unsupported! */
return 0;
}
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#endif /* _XTENSA_IDE_H */ #endif /* _XTENSA_IDE_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment