summaryrefslogtreecommitdiff
path: root/drivers/staging/comedi/drivers/pcl816.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2011-06-09 12:20:28 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-06-09 12:20:28 -0700
commit845d131e2b363717d8ac8db2c6b4417de8cf10b5 (patch)
tree7555119aeb095912d8a21e2204b8ff2c705b6ea8 /drivers/staging/comedi/drivers/pcl816.c
parent408093d2a1724ea4c8518bd2bfee166132a6cbfa (diff)
Staging: comedi: add #include <linux/io.h> to a bunch of drivers
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>
Diffstat (limited to 'drivers/staging/comedi/drivers/pcl816.c')
-rw-r--r--drivers/staging/comedi/drivers/pcl816.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/comedi/drivers/pcl816.c b/drivers/staging/comedi/drivers/pcl816.c
index 8f3fc6ee088..0b9bee36eb5 100644
--- a/drivers/staging/comedi/drivers/pcl816.c
+++ b/drivers/staging/comedi/drivers/pcl816.c
@@ -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"