aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/stk-webcam.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/stk-webcam.c')
-rw-r--r--drivers/media/video/stk-webcam.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/stk-webcam.c b/drivers/media/video/stk-webcam.c
index 6b41865f42bd..6590b9299315 100644
--- a/drivers/media/video/stk-webcam.c
+++ b/drivers/media/video/stk-webcam.c
@@ -1327,8 +1327,8 @@ static int stk_register_video_device(struct stk_camera *dev)
1327 if (err) 1327 if (err)
1328 STK_ERROR("v4l registration failed\n"); 1328 STK_ERROR("v4l registration failed\n");
1329 else 1329 else
1330 STK_INFO("Syntek USB2.0 Camera is now controlling video device" 1330 STK_INFO("Syntek USB2.0 Camera is now controlling device %s\n",
1331 " /dev/video%d\n", dev->vdev.num); 1331 video_device_node_name(&dev->vdev));
1332 return err; 1332 return err;
1333} 1333}
1334 1334
@@ -1418,8 +1418,8 @@ static void stk_camera_disconnect(struct usb_interface *interface)
1418 wake_up_interruptible(&dev->wait_frame); 1418 wake_up_interruptible(&dev->wait_frame);
1419 stk_remove_sysfs_files(&dev->vdev); 1419 stk_remove_sysfs_files(&dev->vdev);
1420 1420
1421 STK_INFO("Syntek USB2.0 Camera release resources " 1421 STK_INFO("Syntek USB2.0 Camera release resources device %s\n",
1422 "video device /dev/video%d\n", dev->vdev.num); 1422 video_device_node_name(&dev->vdev));
1423 1423
1424 video_unregister_device(&dev->vdev); 1424 video_unregister_device(&dev->vdev);
1425} 1425}