aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/videodev.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-04-08 22:20:00 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:07:59 -0400
commit7e28adb2497f6b873516163e2d29210c11777613 (patch)
tree2f65ee1bcadb2915f196a277dbac83af99685481 /drivers/media/video/videodev.c
parente9815ceea9733dfb236629f5b72f2e6486f66242 (diff)
V4L/DVB (7518): media/video/ replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/videodev.c')
-rw-r--r--drivers/media/video/videodev.c4
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