projects/linux·commit eae6c2b6

remove <linux/ata.h> include from <linux/hdreg.h>

eae6c2b6 · Bartlomiej Zolnierkiewicz <[email protected]> · 2009-04-01 21:42:26 +02:00

All <linux/hdreg.h> users that need <linux/ata.h> have been fixed
to include it directly.

Cc: Christoph Hellwig <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Commit
eae6c2b6414fc6673ac5415442fe463c01005366
Parents
4fe6e306

Changes

1 files changed · +0 −4

FileStatusAddDelContent
include/linux/hdreg.hmodified+0−4View file

include/linux/hdreg.h

View file
diff --git a/include/linux/hdreg.h b/include/linux/hdreg.h
index 3bc8f9f..29ee287 100644
--- a/include/linux/hdreg.h
+++ b/include/linux/hdreg.h
@@ -1,10 +1,6 @@
#ifndef _LINUX_HDREG_H
#define _LINUX_HDREG_H
-#ifdef __KERNEL__
-#include <linux/ata.h>
-#endif /* __KERNEL__ */
-
#include <linux/types.h>
/*