diff options
Diffstat (limited to 'drivers/media/video/videodev.c')
-rw-r--r-- | drivers/media/video/videodev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/videodev.c b/drivers/media/video/videodev.c index 0d9b63762a48..0bf056622d6a 100644 --- a/drivers/media/video/videodev.c +++ b/drivers/media/video/videodev.c | |||
@@ -2019,7 +2019,7 @@ int video_register_device(struct video_device *vfd, int type, int nr) | |||
2019 | break; | 2019 | break; |
2020 | default: | 2020 | default: |
2021 | printk(KERN_ERR "%s called with unknown type: %d\n", | 2021 | printk(KERN_ERR "%s called with unknown type: %d\n", |
2022 | __FUNCTION__, type); | 2022 | __func__, type); |
2023 | return -1; | 2023 | return -1; |
2024 | } | 2024 | } |
2025 | 2025 | ||
@@ -2057,7 +2057,7 @@ int video_register_device(struct video_device *vfd, int type, int nr) | |||
2057 | ret = device_register(&vfd->class_dev); | 2057 | ret = device_register(&vfd->class_dev); |
2058 | if (ret < 0) { | 2058 | if (ret < 0) { |
2059 | printk(KERN_ERR "%s: device_register failed\n", | 2059 | printk(KERN_ERR "%s: device_register failed\n", |
2060 | __FUNCTION__); | 2060 | __func__); |
2061 | goto fail_minor; | 2061 | goto fail_minor; |
2062 | } | 2062 | } |
2063 | 2063 | ||