[<prev] [next>] [day] [month] [year] [list]
Date: Mon, 7 Jul 2008 23:52:56 +0200
From: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
To: linux-ide@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, Chris Zankel <chris@...kel.net>
Subject: [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 <chris@...kel.net>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
---
include/asm-xtensa/ide.h | 13 ++-----------
1 file changed, 2 insertions(+), 11 deletions(-)
Index: b/include/asm-xtensa/ide.h
===================================================================
--- 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 */
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists