diff options
Diffstat (limited to 'drivers/media/video/usbvision/usbvision-i2c.c')
-rw-r--r-- | drivers/media/video/usbvision/usbvision-i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/usbvision/usbvision-i2c.c b/drivers/media/video/usbvision/usbvision-i2c.c index 92427fdc1459..9907b9aff2b9 100644 --- a/drivers/media/video/usbvision/usbvision-i2c.c +++ b/drivers/media/video/usbvision/usbvision-i2c.c | |||
@@ -236,7 +236,7 @@ int usbvision_i2c_register(struct usb_usbvision *usbvision) | |||
236 | sizeof(struct i2c_client)); | 236 | sizeof(struct i2c_client)); |
237 | 237 | ||
238 | sprintf(usbvision->i2c_adap.name + strlen(usbvision->i2c_adap.name), | 238 | sprintf(usbvision->i2c_adap.name + strlen(usbvision->i2c_adap.name), |
239 | " #%d", usbvision->vdev->minor & 0x1f); | 239 | " #%d", usbvision->vdev->num); |
240 | PDEBUG(DBG_I2C,"Adaptername: %s", usbvision->i2c_adap.name); | 240 | PDEBUG(DBG_I2C,"Adaptername: %s", usbvision->i2c_adap.name); |
241 | usbvision->i2c_adap.dev.parent = &usbvision->dev->dev; | 241 | usbvision->i2c_adap.dev.parent = &usbvision->dev->dev; |
242 | 242 | ||