summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/usb/misc/usb3503.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/usb/misc/usb3503.c')
-rw-r--r--kernel/drivers/usb/misc/usb3503.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/usb/misc/usb3503.c b/kernel/drivers/usb/misc/usb3503.c
index 64ff5b917..b45cb77c0 100644
--- a/kernel/drivers/usb/misc/usb3503.c
+++ b/kernel/drivers/usb/misc/usb3503.c
@@ -410,7 +410,7 @@ static int __init usb3503_init(void)
{
int err;
- err = i2c_register_driver(THIS_MODULE, &usb3503_i2c_driver);
+ err = i2c_add_driver(&usb3503_i2c_driver);
if (err != 0)
pr_err("usb3503: Failed to register I2C driver: %d\n", err);