Messages in this thread | | | Subject | Re: [PATCH 01/15] ide: include <asm/ide.h> only when needed | From | Jaswinder Singh Rajput <> | Date | Tue, 03 Feb 2009 00:23:04 +0530 |
| |
On Sun, 2009-02-01 at 18:49 +0100, Bartlomiej Zolnierkiewicz wrote: > From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> > Subject: [PATCH] ide: include <asm/ide.h> only when needed > > Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> > --- > drivers/ide/ide-io-std.c | 7 +++++++ > drivers/ide/tx4938ide.c | 2 ++ > drivers/ide/tx4939ide.c | 2 ++ > include/linux/ide.h | 7 ------- > 4 files changed, 11 insertions(+), 7 deletions(-) > > Index: b/include/linux/ide.h > =================================================================== > --- a/include/linux/ide.h > +++ b/include/linux/ide.h > @@ -193,13 +193,6 @@ static inline void ide_std_init_ports(hw > hw->io_ports.ctl_addr = ctl_addr; > } > > -#if defined(CONFIG_ARM) || defined(CONFIG_M68K) || defined(CONFIG_MIPS) || \ > - defined(CONFIG_PARISC) || defined(CONFIG_PPC) || defined(CONFIG_SPARC) > -#include <asm/ide.h> > -#else > -#include <asm-generic/ide_iops.h> > -#endif > - > #define MAX_HWIFS 10 >
What is the point of removing <asm/ide.h> from <linux/ide.h>
-- JSR
| |