diff options
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/host/ohci-omap.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/ohci-pnx4008.c | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/drivers/usb/host/ohci-omap.c b/drivers/usb/host/ohci-omap.c index 5cfa3d1c4413..74e1f4be10bb 100644 --- a/drivers/usb/host/ohci-omap.c +++ b/drivers/usb/host/ohci-omap.c | |||
@@ -47,7 +47,7 @@ | |||
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | #ifdef CONFIG_TPS65010 | 49 | #ifdef CONFIG_TPS65010 |
50 | #include <asm/arch/tps65010.h> | 50 | #include <linux/i2c/tps65010.h> |
51 | #else | 51 | #else |
52 | 52 | ||
53 | #define LOW 0 | 53 | #define LOW 0 |
diff --git a/drivers/usb/host/ohci-pnx4008.c b/drivers/usb/host/ohci-pnx4008.c index ca2a6abbc117..6c52c66b659f 100644 --- a/drivers/usb/host/ohci-pnx4008.c +++ b/drivers/usb/host/ohci-pnx4008.c | |||
@@ -112,9 +112,9 @@ static int isp1301_detach(struct i2c_client *client); | |||
112 | static int isp1301_command(struct i2c_client *client, unsigned int cmd, | 112 | static int isp1301_command(struct i2c_client *client, unsigned int cmd, |
113 | void *arg); | 113 | void *arg); |
114 | 114 | ||
115 | static unsigned short normal_i2c[] = | 115 | static const unsigned short normal_i2c[] = |
116 | { ISP1301_I2C_ADDR, ISP1301_I2C_ADDR + 1, I2C_CLIENT_END }; | 116 | { ISP1301_I2C_ADDR, ISP1301_I2C_ADDR + 1, I2C_CLIENT_END }; |
117 | static unsigned short dummy_i2c_addrlist[] = { I2C_CLIENT_END }; | 117 | static const unsigned short dummy_i2c_addrlist[] = { I2C_CLIENT_END }; |
118 | 118 | ||
119 | static struct i2c_client_address_data addr_data = { | 119 | static struct i2c_client_address_data addr_data = { |
120 | .normal_i2c = normal_i2c, | 120 | .normal_i2c = normal_i2c, |
@@ -123,7 +123,6 @@ static struct i2c_client_address_data addr_data = { | |||
123 | }; | 123 | }; |
124 | 124 | ||
125 | struct i2c_driver isp1301_driver = { | 125 | struct i2c_driver isp1301_driver = { |
126 | .id = I2C_DRIVERID_I2CDEV, /* Fake Id */ | ||
127 | .class = I2C_CLASS_HWMON, | 126 | .class = I2C_CLASS_HWMON, |
128 | .attach_adapter = isp1301_probe, | 127 | .attach_adapter = isp1301_probe, |
129 | .detach_client = isp1301_detach, | 128 | .detach_client = isp1301_detach, |