aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
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
commita79d13b3aa0226630ee639e6a2e98a4bda1afd4d (patch)
treed73cc394901fc8ad0126c7da5e77aac9edf1b362 /drivers/media/video
parent5016381c33d63f23c43416b9c8421b1eeaa1b515 (diff)
V4L/DVB (7527): media/video/sn9c102 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')
-rw-r--r--drivers/media/video/sn9c102/sn9c102.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/sn9c102/sn9c102.h b/drivers/media/video/sn9c102/sn9c102.h
index 2e3c3de793a7..0c8d87d8d18d 100644
--- a/drivers/media/video/sn9c102/sn9c102.h
+++ b/drivers/media/video/sn9c102/sn9c102.h
@@ -176,7 +176,7 @@ do { \
176 dev_info(&cam->usbdev->dev, fmt "\n", ## args); \ 176 dev_info(&cam->usbdev->dev, fmt "\n", ## args); \
177 else if ((level) >= 3) \ 177 else if ((level) >= 3) \
178 dev_info(&cam->usbdev->dev, "[%s:%d] " fmt "\n", \ 178 dev_info(&cam->usbdev->dev, "[%s:%d] " fmt "\n", \
179 __FUNCTION__, __LINE__ , ## args); \ 179 __func__, __LINE__ , ## args); \
180 } \ 180 } \
181} while (0) 181} while (0)
182# define V4LDBG(level, name, cmd) \ 182# define V4LDBG(level, name, cmd) \
@@ -191,7 +191,7 @@ do { \
191 pr_info("sn9c102: " fmt "\n", ## args); \ 191 pr_info("sn9c102: " fmt "\n", ## args); \
192 else if ((level) == 3) \ 192 else if ((level) == 3) \
193 pr_debug("sn9c102: [%s:%d] " fmt "\n", \ 193 pr_debug("sn9c102: [%s:%d] " fmt "\n", \
194 __FUNCTION__, __LINE__ , ## args); \ 194 __func__, __LINE__ , ## args); \
195 } \ 195 } \
196} while (0) 196} while (0)
197#else 197#else
@@ -202,7 +202,7 @@ do { \
202 202
203#undef PDBG 203#undef PDBG
204#define PDBG(fmt, args...) \ 204#define PDBG(fmt, args...) \
205dev_info(&cam->usbdev->dev, "[%s:%s:%d] " fmt "\n", __FILE__, __FUNCTION__, \ 205dev_info(&cam->usbdev->dev, "[%s:%s:%d] " fmt "\n", __FILE__, __func__, \
206 __LINE__ , ## args) 206 __LINE__ , ## args)
207 207
208#undef PDBGG 208#undef PDBGG