]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ide: fix <asm-xtensa/ide.h>
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 24 Jul 2008 20:53:27 +0000 (22:53 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 24 Jul 2008 20:53:27 +0000 (22:53 +0200)
* 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>
include/asm-xtensa/ide.h

index 6b912742a42d34b085596131bc37b1441faa308c..cb995701c42d843a84a82be8dabd9c129dfee28e 100644 (file)
 # 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 */