Skip to content

Commit

Permalink
ide: fix <asm-xtensa/ide.h>
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Jul 24, 2008
1 parent 37c5ef5 commit b0a6281
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions include/asm-xtensa/ide.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit b0a6281

Please sign in to comment.