ide/ata: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 17 Jul 2011 19:33:58 +0000 (15:33 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:31:37 +0000 (19:31 -0400)
They were getting this implicitly by an include of module.h
from device.h -- but we are going to clean that up and break
that include chain, so include export.h explicitly now.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
16 files changed:
drivers/ata/libata-eh.c
drivers/ata/libata-pmp.c
drivers/ata/libata-scsi.c
drivers/ide/ide-atapi.c
drivers/ide/ide-disk_proc.c
drivers/ide/ide-dma-sff.c
drivers/ide/ide-dma.c
drivers/ide/ide-eh.c
drivers/ide/ide-floppy_proc.c
drivers/ide/ide-io-std.c
drivers/ide/ide-ioctls.c
drivers/ide/ide-legacy.c
drivers/ide/ide-lib.c
drivers/ide/ide-taskfile.c
drivers/ide/ide-xfer-mode.c
drivers/ide/setup-pci.c

index c021186736e9328cdc8c5de33ea1349177613ef9..f22957c2769a749f66c28c1f310acfd8a0446b92 100644 (file)
@@ -34,6 +34,7 @@
 
 #include <linux/kernel.h>
 #include <linux/blkdev.h>
+#include <linux/export.h>
 #include <linux/pci.h>
 #include <scsi/scsi.h>
 #include <scsi/scsi_host.h>
index 3eb2b816eb2a573a875baaf6bbcb5a82caabf5ee..104462dbc524aa56acf56da7b3b19e885ba3229f 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/libata.h>
 #include <linux/slab.h>
 #include "libata.h"
index 19ba77032ac27ed94d0ca54aa23ccb5e2e8eb3fa..72a9770ac42f51e95db81f318d6aa30acdc690d2 100644 (file)
@@ -37,6 +37,7 @@
 #include <linux/kernel.h>
 #include <linux/blkdev.h>
 #include <linux/spinlock.h>
+#include <linux/export.h>
 #include <scsi/scsi.h>
 #include <scsi/scsi_host.h>
 #include <scsi/scsi_cmnd.h>
index 6f218e014e9940a4021533159dd72e9b64fac5f5..fac3d9da2e07db38df577c0ed76f5f72202641ea 100644 (file)
@@ -5,6 +5,7 @@
 #include <linux/kernel.h>
 #include <linux/cdrom.h>
 #include <linux/delay.h>
+#include <linux/export.h>
 #include <linux/ide.h>
 #include <linux/scatterlist.h>
 #include <linux/gfp.h>
index f9bbd904eae72651d65e33b4dba06ec4f95f69ee..8b570a17bcd99476093b93a8e748e66a3ae0b30a 100644 (file)
@@ -1,6 +1,7 @@
 #include <linux/kernel.h>
 #include <linux/ide.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 #include <linux/seq_file.h>
 
 #include "ide-disk.h"
index e4cdf78cc3e96a4f05522ba8038610ad7c80759c..289d16c87b8ffb41bc4935ff188a2a85e0bd7044 100644 (file)
@@ -1,5 +1,6 @@
 #include <linux/types.h>
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/ide.h>
 #include <linux/scatterlist.h>
 #include <linux/dma-mapping.h>
index d4136908f9166a6dbb7b6e991397e289e50c5623..17a65ac56491881117edbec9b28518e9cd95f12d 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/types.h>
 #include <linux/gfp.h>
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/ide.h>
 #include <linux/scatterlist.h>
 #include <linux/dma-mapping.h>
index c0aa93fb7a60e42e8bb43a8cc6e72cbf74de15b1..32970664c275448d65c44f6e8252b5de129c064c 100644 (file)
@@ -1,5 +1,6 @@
 
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/ide.h>
 #include <linux/delay.h>
 
index d711d9b883dea63124ac11c38907f8ca8a23b36c..1600720f3e8654b93da870db04b90de1dbd92c5d 100644 (file)
@@ -1,4 +1,5 @@
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/ide.h>
 #include <linux/seq_file.h>
 
index 46721c4545180ec4b8835c1c9be6caad6086f36d..19763977568c5d6fd7ecc87c3f4e7bc47fc0d85e 100644 (file)
@@ -1,5 +1,6 @@
 
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/ide.h>
 
 #if defined(CONFIG_ARM) || defined(CONFIG_M68K) || defined(CONFIG_MIPS) || \
index 9965ecd5078c63e37aa4fb34d1b7df722fd22d63..4d19eb9772a12df23d1b70f02e04e783d8a5707f 100644 (file)
@@ -2,6 +2,7 @@
  * IDE ioctls handling.
  */
 
+#include <linux/export.h>
 #include <linux/hdreg.h>
 #include <linux/ide.h>
 #include <linux/slab.h>
index b9654a7bb7becb2d7f2b07aa126b075e4e611b89..30fe3630734fce9ab06edfe7881fe82d86374428 100644 (file)
@@ -1,4 +1,5 @@
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/ide.h>
 
 static void ide_legacy_init_one(struct ide_hw **hws, struct ide_hw *hw,
index e386a32dc9ba888c110b42971d57a1bab2662f49..d9c9829c8b206118b665d282f847e7809887fb33 100644 (file)
@@ -1,6 +1,7 @@
 #include <linux/types.h>
 #include <linux/string.h>
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/interrupt.h>
 #include <linux/ide.h>
 #include <linux/bitops.h>
index 600c89a3d13759f47ddc82caa06b41dbd039401d..5bc2839ebcfdff11bed95117570cbb9a1092bfe6 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/types.h>
 #include <linux/string.h>
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/sched.h>
 #include <linux/interrupt.h>
 #include <linux/errno.h>
index 5fc8d5c17de9a243c20b68c2239128e56b9a57f6..eb421883c16d0524d6e80de7d49700723183f574 100644 (file)
@@ -1,6 +1,7 @@
 #include <linux/types.h>
 #include <linux/string.h>
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/interrupt.h>
 #include <linux/ide.h>
 #include <linux/bitops.h>
index ab3db61d2ba038a84128b08870aa7bd091fc9624..34a5e5223d5004010a03ae4e468e1a2a05e871ba 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <linux/types.h>
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/pci.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>