aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-io-std.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 07:46:26 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 07:46:26 -0400
commit15a453a955f89f6545118770c669b52e925368bd (patch)
tree7058d47378efabc59a53cdd8f946f4dc13a0ae33 /drivers/ide/ide-io-std.c
parent443d18c80700da1f9a5a7cdf676f27ee4db6af6a (diff)
ide: include <asm/ide.h> only when needed
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-io-std.c')
-rw-r--r--drivers/ide/ide-io-std.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/ide/ide-io-std.c b/drivers/ide/ide-io-std.c
index 45b43dd49cda..9a8da6744d93 100644
--- a/drivers/ide/ide-io-std.c
+++ b/drivers/ide/ide-io-std.c
@@ -2,6 +2,13 @@
2#include <linux/kernel.h> 2#include <linux/kernel.h>
3#include <linux/ide.h> 3#include <linux/ide.h>
4 4
5#if defined(CONFIG_ARM) || defined(CONFIG_M68K) || defined(CONFIG_MIPS) || \
6 defined(CONFIG_PARISC) || defined(CONFIG_PPC) || defined(CONFIG_SPARC)
7#include <asm/ide.h>
8#else
9#include <asm-generic/ide_iops.h>
10#endif
11
5/* 12/*
6 * Conventional PIO operations for ATA devices 13 * Conventional PIO operations for ATA devices
7 */ 14 */