Staging: comedi: add #include <linux/io.h> to a bunch of drivers
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Jun 2011 19:20:28 +0000 (12:20 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Jun 2011 19:20:28 +0000 (12:20 -0700)
On some arches the function virt_to_bus() wasn't being pulled in due to
include chains being different.  So, as we are explicitly calling this
function, explicitly include the proper header file so all will build
properly.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/addi-data/addi_common.c
drivers/staging/comedi/drivers/adl_pci9118.c
drivers/staging/comedi/drivers/das1800.c
drivers/staging/comedi/drivers/dt282x.c
drivers/staging/comedi/drivers/ni_at_a2150.c
drivers/staging/comedi/drivers/ni_labpc.c
drivers/staging/comedi/drivers/pcl812.c
drivers/staging/comedi/drivers/pcl816.c
drivers/staging/comedi/drivers/pcl818.c

index 6cf19ed683a8883f8d19b3bac1ccf0c805832063..6fb7594319c6f3fe705745e7b3525d66c1e3f997 100644 (file)
@@ -58,8 +58,8 @@ You should also find the complete GPL in the COPYING file accompanying this sour
 #include <linux/timer.h>
 #include <linux/pci.h>
 #include <linux/gfp.h>
+#include <linux/io.h>
 #include "../../comedidev.h"
-#include <asm/io.h>
 #if defined(CONFIG_APCI_1710) || defined(CONFIG_APCI_3200) || defined(CONFIG_APCI_3300)
 #include <asm/i387.h>
 #endif
index 08b71d9974b686dbc102bd05f111cda9a8e54cb0..f17654e44aefd390fd9b7bea9f1fa79f3ed0c7b1 100644 (file)
@@ -67,6 +67,7 @@ Configuration options:
 #include <linux/delay.h>
 #include <linux/gfp.h>
 #include <linux/interrupt.h>
+#include <linux/io.h>
 
 #include "amcc_s5933.h"
 #include "8253.h"
index 60c2b12d6ffb0f642dbe8c3c65724ff9d9bc736c..9fc28bfb672723d24fa2b7ebf7e86bb507ad7151 100644 (file)
@@ -102,6 +102,7 @@ TODO:
 
 #include <linux/interrupt.h>
 #include <linux/slab.h>
+#include <linux/io.h>
 #include "../comedidev.h"
 
 #include <linux/ioport.h>
index 8cea9dca3d7e64fcf098dee5277e41be9e7b9bf8..95ebc267bb7460596b97dee5c8a364ef85d686ac 100644 (file)
@@ -61,6 +61,7 @@ Notes:
 #include <linux/gfp.h>
 #include <linux/ioport.h>
 #include <linux/interrupt.h>
+#include <linux/io.h>
 #include <asm/dma.h>
 #include "comedi_fc.h"
 
index c192b71ec04f06d68973e162d2c8fa38c350caa4..32e675e3f0b98708d3c22f4e7f87165706ef2037 100644 (file)
@@ -69,6 +69,7 @@ TRIG_WAKE_EOS
 #include "../comedidev.h"
 
 #include <linux/ioport.h>
+#include <linux/io.h>
 #include <asm/dma.h>
 
 #include "8253.h"
index ab8f37022a3c623d9bea7ec2cb117df35b7efcb3..f82e732b16f525319dd60404402c039c3659587c 100644 (file)
@@ -78,6 +78,7 @@ NI manuals:
 
 #include <linux/interrupt.h>
 #include <linux/slab.h>
+#include <linux/io.h>
 #include "../comedidev.h"
 
 #include <linux/delay.h>
index 09ff4723b22503f709e59d435ea59989c181cd28..6fc74645af2ccdd7b1c9a33cb7a693954231b646 100644 (file)
 
 #include <linux/delay.h>
 #include <linux/ioport.h>
+#include <linux/io.h>
 #include <asm/dma.h>
 
 #include "8253.h"
index 8f3fc6ee088b501764759f2e385fb7813bfbd003..0b9bee36eb5fabe2070f0aa9db243f1c28f4390d 100644 (file)
@@ -38,6 +38,7 @@ Configuration Options:
 #include <linux/mc146818rtc.h>
 #include <linux/gfp.h>
 #include <linux/delay.h>
+#include <linux/io.h>
 #include <asm/dma.h>
 
 #include "8253.h"
index 8933e5089bd337e6bd44ecf3bb2e14fba35649b8..b45a9bd8b489add24cb13a230b757ed09be78503 100644 (file)
@@ -104,6 +104,7 @@ A word or two about DMA. Driver support DMA operations at two ways:
 #include <linux/mc146818rtc.h>
 #include <linux/gfp.h>
 #include <linux/delay.h>
+#include <linux/io.h>
 #include <asm/dma.h>
 
 #include "8253.h"