Skip to content

Commit

Permalink
ide: remove <asm/ide.h> for some archs
Browse files Browse the repository at this point in the history
* Remove <linux/irq.h> include from <asm-ia64.h> (<linux/ide.h> includes
  <linux/interrupt.h> which is enough).

* Remove <asm/ide.h> for alpha/blackfin/h8300/ia64/m32r/sh/x86/xtensa
  (this leaves us with arm/frv/m68k/mips/mn10300/parisc/powerpc/sparc[64]).

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Jul 24, 2008
1 parent f01d35d commit 2a8f745
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 171 deletions.
20 changes: 0 additions & 20 deletions include/asm-alpha/ide.h

This file was deleted.

25 changes: 0 additions & 25 deletions include/asm-blackfin/ide.h

This file was deleted.

24 changes: 0 additions & 24 deletions include/asm-h8300/ide.h

This file was deleted.

22 changes: 0 additions & 22 deletions include/asm-ia64/ide.h

This file was deleted.

20 changes: 0 additions & 20 deletions include/asm-m32r/ide.h

This file was deleted.

21 changes: 0 additions & 21 deletions include/asm-sh/ide.h

This file was deleted.

18 changes: 0 additions & 18 deletions include/asm-x86/ide.h

This file was deleted.

21 changes: 0 additions & 21 deletions include/asm-xtensa/ide.h

This file was deleted.

6 changes: 6 additions & 0 deletions include/linux/ide.h
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,13 @@ static inline int __ide_default_irq(unsigned long base)
return 0;
}

#if defined(CONFIG_ARM) || defined(CONFIG_FRV) || defined(CONFIG_M68K) || \
defined(CONFIG_MIPS) || defined(CONFIG_MN10300) || defined(CONFIG_PARISC) \
|| defined(CONFIG_PPC) || defined(CONFIG_SPARC) || defined(CONFIG_SPARC64)
#include <asm/ide.h>
#else
#include <asm-generic/ide_iops.h>
#endif

#ifndef MAX_HWIFS
#if defined(CONFIG_BLACKFIN) || defined(CONFIG_H8300) || defined(CONFIG_XTENSA)
Expand Down

0 comments on commit 2a8f745

Please sign in to comment.