summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-pnx4008.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-10-01 19:03:13 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 11:55:14 -0800
commit09ce497e79a930ac4912d6bc295baab82b39f8ab (patch)
tree83ac025d2cb97c767206c8489799f66a2ff2ad0e /drivers/usb/host/ohci-pnx4008.c
parent08d3c18e6674c5d46e4333a462b1e2e4c4ded1d4 (diff)
downloadop-kernel-dev-09ce497e79a930ac4912d6bc295baab82b39f8ab.zip
op-kernel-dev-09ce497e79a930ac4912d6bc295baab82b39f8ab.tar.gz
USB: Add missing static markers to ohci-pnx4008
I can't see any reason why these would not be static. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ohci-pnx4008.c')
-rw-r--r--drivers/usb/host/ohci-pnx4008.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/host/ohci-pnx4008.c b/drivers/usb/host/ohci-pnx4008.c
index 100bf3d..2769326 100644
--- a/drivers/usb/host/ohci-pnx4008.c
+++ b/drivers/usb/host/ohci-pnx4008.c
@@ -98,8 +98,8 @@
#define ISP1301_I2C_INTERRUPT_RISING 0xE
#define ISP1301_I2C_REG_CLEAR_ADDR 1
-struct i2c_driver isp1301_driver;
-struct i2c_client *isp1301_i2c_client;
+static struct i2c_driver isp1301_driver;
+static struct i2c_client *isp1301_i2c_client;
extern int usb_disabled(void);
extern int ocpi_enable(void);
@@ -120,12 +120,12 @@ static int isp1301_remove(struct i2c_client *client)
return 0;
}
-const struct i2c_device_id isp1301_id[] = {
+static const struct i2c_device_id isp1301_id[] = {
{ "isp1301_pnx", 0 },
{ }
};
-struct i2c_driver isp1301_driver = {
+static struct i2c_driver isp1301_driver = {
.driver = {
.name = "isp1301_pnx",
},
OpenPOWER on IntegriCloud