Commit 1de1bf06 authored by Thierry MERLE's avatar Thierry MERLE Committed by Mauro Carvalho Chehab

V4L/DVB 4949b: Fix container_of pointer retreival

Signed-off-by: default avatarThierry MERLE <thierry.merle@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 67952e8c
...@@ -2218,7 +2218,7 @@ int usbvision_power_on(struct usb_usbvision *usbvision) ...@@ -2218,7 +2218,7 @@ int usbvision_power_on(struct usb_usbvision *usbvision)
// to call usbvision_power_off from task queue // to call usbvision_power_off from task queue
static void call_usbvision_power_off(struct work_struct *work) static void call_usbvision_power_off(struct work_struct *work)
{ {
struct usb_usbvision *usbvision = container_of(work, struct usb_usbvision, work); struct usb_usbvision *usbvision = container_of(work, struct usb_usbvision, powerOffWork);
PDEBUG(DBG_FUNC, ""); PDEBUG(DBG_FUNC, "");
down_interruptible(&usbvision->lock); down_interruptible(&usbvision->lock);
......
...@@ -381,8 +381,6 @@ struct usb_usbvision { ...@@ -381,8 +381,6 @@ struct usb_usbvision {
struct video_device *rdev; /* Radio Device */ struct video_device *rdev; /* Radio Device */
struct video_device *vbi; /* VBI Device */ struct video_device *vbi; /* VBI Device */
struct work_struct work;
/* i2c Declaration Section*/ /* i2c Declaration Section*/
struct i2c_adapter i2c_adap; struct i2c_adapter i2c_adap;
struct i2c_algo_usb_data i2c_algo; struct i2c_algo_usb_data i2c_algo;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment