aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/w9968cf.h
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/w9968cf.h
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/w9968cf.h')
-rw-r--r--drivers/media/video/w9968cf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/w9968cf.h b/drivers/media/video/w9968cf.h
index ec7696e8f1fa..3c95316bc030 100644
--- a/drivers/media/video/w9968cf.h
+++ b/drivers/media/video/w9968cf.h
@@ -298,7 +298,7 @@ struct w9968cf_device {
298 dev_warn(&cam->dev, fmt "\n", ## args); \ 298 dev_warn(&cam->dev, fmt "\n", ## args); \
299 else if ((level) >= 5) \ 299 else if ((level) >= 5) \
300 dev_info(&cam->dev, "[%s:%d] " fmt "\n", \ 300 dev_info(&cam->dev, "[%s:%d] " fmt "\n", \
301 __FUNCTION__, __LINE__ , ## args); \ 301 __func__, __LINE__ , ## args); \
302 } \ 302 } \
303} 303}
304/* For generic kernel (not device specific) messages */ 304/* For generic kernel (not device specific) messages */
@@ -309,7 +309,7 @@ struct w9968cf_device {
309 if ((level) >= 1 && (level) <= 4) \ 309 if ((level) >= 1 && (level) <= 4) \
310 pr_info("w9968cf: " fmt "\n", ## args); \ 310 pr_info("w9968cf: " fmt "\n", ## args); \
311 else if ((level) >= 5) \ 311 else if ((level) >= 5) \
312 pr_debug("w9968cf: [%s:%d] " fmt "\n", __FUNCTION__, \ 312 pr_debug("w9968cf: [%s:%d] " fmt "\n", __func__, \
313 __LINE__ , ## args); \ 313 __LINE__ , ## args); \
314 } \ 314 } \
315} 315}
@@ -321,7 +321,7 @@ struct w9968cf_device {
321 321
322#undef PDBG 322#undef PDBG
323#define PDBG(fmt, args...) \ 323#define PDBG(fmt, args...) \
324dev_info(&cam->dev, "[%s:%d] " fmt "\n", __FUNCTION__, __LINE__ , ## args); 324dev_info(&cam->dev, "[%s:%d] " fmt "\n", __func__, __LINE__ , ## args);
325 325
326#undef PDBGG 326#undef PDBGG
327#define PDBGG(fmt, args...) do {;} while(0); /* nothing: it's a placeholder */ 327#define PDBGG(fmt, args...) do {;} while(0); /* nothing: it's a placeholder */