diff options
Diffstat (limited to 'drivers/media/video/et61x251')
-rw-r--r-- | drivers/media/video/et61x251/et61x251_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/et61x251/et61x251_core.c b/drivers/media/video/et61x251/et61x251_core.c index 15d037ae25c5..3eea1333a52f 100644 --- a/drivers/media/video/et61x251/et61x251_core.c +++ b/drivers/media/video/et61x251/et61x251_core.c | |||
@@ -985,7 +985,7 @@ static DEVICE_ATTR(i2c_val, S_IRUGO | S_IWUSR, | |||
985 | 985 | ||
986 | static int et61x251_create_sysfs(struct et61x251_device* cam) | 986 | static int et61x251_create_sysfs(struct et61x251_device* cam) |
987 | { | 987 | { |
988 | struct device *classdev = &(cam->v4ldev->class_dev); | 988 | struct device *classdev = &(cam->v4ldev->dev); |
989 | int err = 0; | 989 | int err = 0; |
990 | 990 | ||
991 | if ((err = device_create_file(classdev, &dev_attr_reg))) | 991 | if ((err = device_create_file(classdev, &dev_attr_reg))) |