aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/usbvision/usbvision-core.c2
-rw-r--r--drivers/media/video/usbvision/usbvision.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/video/usbvision/usbvision-core.c b/drivers/media/video/usbvision/usbvision-core.c
index 9ff93e7346ae..797b97baf9ed 100644
--- a/drivers/media/video/usbvision/usbvision-core.c
+++ b/drivers/media/video/usbvision/usbvision-core.c
@@ -2218,7 +2218,7 @@ int usbvision_power_on(struct usb_usbvision *usbvision)
2218// to call usbvision_power_off from task queue 2218// to call usbvision_power_off from task queue
2219static void call_usbvision_power_off(struct work_struct *work) 2219static void call_usbvision_power_off(struct work_struct *work)
2220{ 2220{
2221 struct usb_usbvision *usbvision = container_of(work, struct usb_usbvision, work); 2221 struct usb_usbvision *usbvision = container_of(work, struct usb_usbvision, powerOffWork);
2222 2222
2223 PDEBUG(DBG_FUNC, ""); 2223 PDEBUG(DBG_FUNC, "");
2224 down_interruptible(&usbvision->lock); 2224 down_interruptible(&usbvision->lock);
diff --git a/drivers/media/video/usbvision/usbvision.h b/drivers/media/video/usbvision/usbvision.h
index 782abf4ffaab..0e7e3d653cac 100644
--- a/drivers/media/video/usbvision/usbvision.h
+++ b/drivers/media/video/usbvision/usbvision.h
@@ -381,8 +381,6 @@ struct usb_usbvision {
381 struct video_device *rdev; /* Radio Device */ 381 struct video_device *rdev; /* Radio Device */
382 struct video_device *vbi; /* VBI Device */ 382 struct video_device *vbi; /* VBI Device */
383 383
384 struct work_struct work;
385
386 /* i2c Declaration Section*/ 384 /* i2c Declaration Section*/
387 struct i2c_adapter i2c_adap; 385 struct i2c_adapter i2c_adap;
388 struct i2c_algo_usb_data i2c_algo; 386 struct i2c_algo_usb_data i2c_algo;