aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
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
commitd80e134dc8e7e078248f7966a6884858f7ab185f (patch)
tree5536388191e943e4c9db64c941b37c25096b45c2 /drivers
parent32d83efc1c9e290b3d4627c6ec40529eafa89b46 (diff)
V4L/DVB (7522): media/video/em28xx 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')
-rw-r--r--drivers/media/video/em28xx/em28xx-audio.c2
-rw-r--r--drivers/media/video/em28xx/em28xx-core.c6
-rw-r--r--drivers/media/video/em28xx/em28xx-i2c.c2
-rw-r--r--drivers/media/video/em28xx/em28xx-video.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/video/em28xx/em28xx-audio.c b/drivers/media/video/em28xx/em28xx-audio.c
index 8c67f678266a..92b2a6db4fdc 100644
--- a/drivers/media/video/em28xx/em28xx-audio.c
+++ b/drivers/media/video/em28xx/em28xx-audio.c
@@ -51,7 +51,7 @@ MODULE_PARM_DESC(debug, "activates debug info");
51#define dprintk(fmt, arg...) do { \ 51#define dprintk(fmt, arg...) do { \
52 if (debug) \ 52 if (debug) \
53 printk(KERN_INFO "em28xx-audio %s: " fmt, \ 53 printk(KERN_INFO "em28xx-audio %s: " fmt, \
54 __FUNCTION__, ##arg); \ 54 __func__, ##arg); \
55 } while (0) 55 } while (0)
56 56
57static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; 57static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
diff --git a/drivers/media/video/em28xx/em28xx-core.c b/drivers/media/video/em28xx/em28xx-core.c
index 4ebef10b5722..9aa96f1713a1 100644
--- a/drivers/media/video/em28xx/em28xx-core.c
+++ b/drivers/media/video/em28xx/em28xx-core.c
@@ -38,7 +38,7 @@ MODULE_PARM_DESC(core_debug,"enable debug messages [core]");
38#define em28xx_coredbg(fmt, arg...) do {\ 38#define em28xx_coredbg(fmt, arg...) do {\
39 if (core_debug) \ 39 if (core_debug) \
40 printk(KERN_INFO "%s %s :"fmt, \ 40 printk(KERN_INFO "%s %s :"fmt, \
41 dev->name, __FUNCTION__ , ##arg); } while (0) 41 dev->name, __func__ , ##arg); } while (0)
42 42
43static unsigned int reg_debug; 43static unsigned int reg_debug;
44module_param(reg_debug,int,0644); 44module_param(reg_debug,int,0644);
@@ -47,7 +47,7 @@ MODULE_PARM_DESC(reg_debug,"enable debug messages [URB reg]");
47#define em28xx_regdbg(fmt, arg...) do {\ 47#define em28xx_regdbg(fmt, arg...) do {\
48 if (reg_debug) \ 48 if (reg_debug) \
49 printk(KERN_INFO "%s %s :"fmt, \ 49 printk(KERN_INFO "%s %s :"fmt, \
50 dev->name, __FUNCTION__ , ##arg); } while (0) 50 dev->name, __func__ , ##arg); } while (0)
51 51
52static unsigned int isoc_debug; 52static unsigned int isoc_debug;
53module_param(isoc_debug,int,0644); 53module_param(isoc_debug,int,0644);
@@ -56,7 +56,7 @@ MODULE_PARM_DESC(isoc_debug,"enable debug messages [isoc transfers]");
56#define em28xx_isocdbg(fmt, arg...) do {\ 56#define em28xx_isocdbg(fmt, arg...) do {\
57 if (isoc_debug) \ 57 if (isoc_debug) \
58 printk(KERN_INFO "%s %s :"fmt, \ 58 printk(KERN_INFO "%s %s :"fmt, \
59 dev->name, __FUNCTION__ , ##arg); } while (0) 59 dev->name, __func__ , ##arg); } while (0)
60 60
61static int alt = EM28XX_PINOUT; 61static int alt = EM28XX_PINOUT;
62module_param(alt, int, 0644); 62module_param(alt, int, 0644);
diff --git a/drivers/media/video/em28xx/em28xx-i2c.c b/drivers/media/video/em28xx/em28xx-i2c.c
index c3d98d81c335..6e1b7b4e7668 100644
--- a/drivers/media/video/em28xx/em28xx-i2c.c
+++ b/drivers/media/video/em28xx/em28xx-i2c.c
@@ -45,7 +45,7 @@ MODULE_PARM_DESC(i2c_debug, "enable debug messages [i2c]");
45 printk(fmt, ##args); } while (0) 45 printk(fmt, ##args); } while (0)
46#define dprintk2(lvl,fmt, args...) if (i2c_debug>=lvl) do{ \ 46#define dprintk2(lvl,fmt, args...) if (i2c_debug>=lvl) do{ \
47 printk(KERN_DEBUG "%s at %s: " fmt, \ 47 printk(KERN_DEBUG "%s at %s: " fmt, \
48 dev->name, __FUNCTION__ , ##args); } while (0) 48 dev->name, __func__ , ##args); } while (0)
49 49
50/* 50/*
51 * em2800_i2c_send_max4() 51 * em2800_i2c_send_max4()
diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c
index c8264f40aa0d..c7f074c6f226 100644
--- a/drivers/media/video/em28xx/em28xx-video.c
+++ b/drivers/media/video/em28xx/em28xx-video.c
@@ -52,7 +52,7 @@
52#define em28xx_videodbg(fmt, arg...) do {\ 52#define em28xx_videodbg(fmt, arg...) do {\
53 if (video_debug) \ 53 if (video_debug) \
54 printk(KERN_INFO "%s %s :"fmt, \ 54 printk(KERN_INFO "%s %s :"fmt, \
55 dev->name, __FUNCTION__ , ##arg); } while (0) 55 dev->name, __func__ , ##arg); } while (0)
56 56
57MODULE_AUTHOR(DRIVER_AUTHOR); 57MODULE_AUTHOR(DRIVER_AUTHOR);
58MODULE_DESCRIPTION(DRIVER_DESC); 58MODULE_DESCRIPTION(DRIVER_DESC);