From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Date: Wed, 1 Apr 2009 19:42:26 +0000 (+0200)
Subject: remove <linux/ata.h> include from <linux/hdreg.h>
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eae6c2b6414fc6673ac5415442fe463c01005366;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git

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

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

Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---

diff --git a/include/linux/hdreg.h b/include/linux/hdreg.h
index 3bc8f9f986b6..29ee2873f4a8 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>
 
 /*