diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-10 16:39:27 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-10 16:39:27 -0400 |
commit | 3ceca727fe3a38dd8d7a3adf938fefda83eee8af (patch) | |
tree | 61fb443f0e1a260110f63b23f236605677dd85a6 /drivers/ide/pci/hpt366.c | |
parent | 7c51c17e0431d2f26bc23ee07de12eafb125ce83 (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/pci/hpt366.c')
-rw-r--r-- | drivers/ide/pci/hpt366.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ide/pci/hpt366.c b/drivers/ide/pci/hpt366.c index b7f77fd3cb6e..d706eb6b8acd 100644 --- a/drivers/ide/pci/hpt366.c +++ b/drivers/ide/pci/hpt366.c | |||
@@ -122,7 +122,6 @@ | |||
122 | #include <linux/kernel.h> | 122 | #include <linux/kernel.h> |
123 | #include <linux/delay.h> | 123 | #include <linux/delay.h> |
124 | #include <linux/blkdev.h> | 124 | #include <linux/blkdev.h> |
125 | #include <linux/hdreg.h> | ||
126 | #include <linux/interrupt.h> | 125 | #include <linux/interrupt.h> |
127 | #include <linux/pci.h> | 126 | #include <linux/pci.h> |
128 | #include <linux/init.h> | 127 | #include <linux/init.h> |