Commit 3489c9ad authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

I2C: fix up __iomem marking for i2c bus drivers

Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 9543d252
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
#define CYCLE_DELAY 10 #define CYCLE_DELAY 10
#define TIMEOUT (HZ / 2) #define TIMEOUT (HZ / 2)
static void *ioaddr; static void __iomem *ioaddr;
/* The i810 GPIO registers have individual masks for each bit /* The i810 GPIO registers have individual masks for each bit
so we never have to read before writing. Nice. */ so we never have to read before writing. Nice. */
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
#define MAX_BUSSES 2 #define MAX_BUSSES 2
struct s_i2c_bus { struct s_i2c_bus {
void *mmvga; void __iomem *mmvga;
int i2c_reg; int i2c_reg;
int adap_ok; int adap_ok;
struct i2c_adapter adap; struct i2c_adapter adap;
...@@ -76,7 +76,7 @@ struct s_i2c_bus { ...@@ -76,7 +76,7 @@ struct s_i2c_bus {
}; };
struct s_i2c_chip { struct s_i2c_chip {
void *mmio; void __iomem *mmio;
struct s_i2c_bus i2c_bus[MAX_BUSSES]; struct s_i2c_bus i2c_bus[MAX_BUSSES];
}; };
...@@ -181,7 +181,7 @@ static int bit_s3via_getsda(void *bus) ...@@ -181,7 +181,7 @@ static int bit_s3via_getsda(void *bus)
/* /*
* adapter initialisation * adapter initialisation
*/ */
static int i2c_register_bus(struct pci_dev *dev, struct s_i2c_bus *p, u8 *mmvga, u32 i2c_reg) static int i2c_register_bus(struct pci_dev *dev, struct s_i2c_bus *p, void __iomem *mmvga, u32 i2c_reg)
{ {
int ret; int ret;
p->adap.owner = THIS_MODULE; p->adap.owner = THIS_MODULE;
......
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
#define TIMEOUT (HZ / 2) #define TIMEOUT (HZ / 2)
static void *ioaddr; static void __iomem *ioaddr;
/* The sav GPIO registers don't have individual masks for each bit /* The sav GPIO registers don't have individual masks for each bit
so we always have to read before writing. */ so we always have to read before writing. */
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
#define TIMEOUT (HZ / 2) #define TIMEOUT (HZ / 2)
static void *ioaddr; static void __iomem *ioaddr;
/* The voo GPIO registers don't have individual masks for each bit /* The voo GPIO registers don't have individual masks for each bit
so we always have to read before writing. */ so we always have to read before writing. */
......
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