Commit b35670bf authored by David S. Miller's avatar David S. Miller

[I2C]: Several drivers forget to include asm/io.h

parent 19323b83
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/i2c-algo-bit.h> #include <linux/i2c-algo-bit.h>
#include <asm/io.h>
/* GPIO register locations */ /* GPIO register locations */
#define I810_IOCONTROL_OFFSET 0x5000 #define I810_IOCONTROL_OFFSET 0x5000
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/i2c-algo-bit.h> #include <linux/i2c-algo-bit.h>
#include <asm/io.h>
/* /*
* driver configuration * driver configuration
......
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/i2c-algo-bit.h> #include <linux/i2c-algo-bit.h>
#include <asm/io.h>
/* 3DFX defines */ /* 3DFX defines */
#define PCI_CHIP_SAVAGE3D 0x8A20 #define PCI_CHIP_SAVAGE3D 0x8A20
......
...@@ -63,6 +63,7 @@ ...@@ -63,6 +63,7 @@
#include <linux/ioport.h> #include <linux/ioport.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <asm/io.h>
static int blacklist[] = { static int blacklist[] = {
PCI_DEVICE_ID_SI_540, PCI_DEVICE_ID_SI_540,
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
#include <linux/ioport.h> #include <linux/ioport.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <asm/io.h>
/* SIS630 SMBus registers */ /* SIS630 SMBus registers */
#define SMB_STS 0x80 /* status */ #define SMB_STS 0x80 /* status */
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include <linux/init.h> #include <linux/init.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/i2c-algo-bit.h> #include <linux/i2c-algo-bit.h>
#include <asm/io.h>
/* Power management registers */ /* Power management registers */
#define PM_CFG_REVID 0x08 /* silicon revision code */ #define PM_CFG_REVID 0x08 /* silicon revision code */
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/i2c-algo-bit.h> #include <linux/i2c-algo-bit.h>
#include <asm/io.h>
/* the only registers we use */ /* the only registers we use */
#define REG 0x78 #define REG 0x78
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment