aboutsummaryrefslogtreecommitdiff
path: root/drivers/ide/ide-io.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz2008-10-10 22:39:27 +0200
committerBartlomiej Zolnierkiewicz2008-10-10 22:39:27 +0200
commit3ceca727fe3a38dd8d7a3adf938fefda83eee8af (patch)
tree61fb443f0e1a260110f63b23f236605677dd85a6 /drivers/ide/ide-io.c
parent7c51c17e0431d2f26bc23ee07de12eafb125ce83 (diff)
ide: include <linux/hdreg.h> only when needed
* Include <linux/ata.h> directly in <linux/ide.h> instead of through <linux/hdreg.h>. * Include <linux/hdreg.h> only when needed. Cc: Christoph Hellwig <hch@infradead.org> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-io.c')
-rw-r--r--drivers/ide/ide-io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c
index 96975e24a0cc..99e0bbca3ace 100644
--- a/drivers/ide/ide-io.c
+++ b/drivers/ide/ide-io.c
@@ -40,6 +40,7 @@
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/ide.h>
+#include <linux/hdreg.h>
#include <linux/completion.h>
#include <linux/reboot.h>
#include <linux/cdrom.h>