aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/zc0301
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
commitd5a50e498603f5fa78e0373c389e2d2c3c13d709 (patch)
treef79cc471fc6bb60518ae129bc406b02461e90df7 /drivers/media/video/zc0301
parent4126a8f5c209ba8138619311c1c8e73d361d9700 (diff)
V4L/DVB (7529): media/video/zc0301 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/zc0301')
-rw-r--r--drivers/media/video/zc0301/zc0301.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/zc0301/zc0301.h b/drivers/media/video/zc0301/zc0301.h
index a2de50efa31a..7bbab541a309 100644
--- a/drivers/media/video/zc0301/zc0301.h
+++ b/drivers/media/video/zc0301/zc0301.h
@@ -160,7 +160,7 @@ do { \
160 dev_info(&cam->usbdev->dev, fmt "\n", ## args); \ 160 dev_info(&cam->usbdev->dev, fmt "\n", ## args); \
161 else if ((level) >= 3) \ 161 else if ((level) >= 3) \
162 dev_info(&cam->usbdev->dev, "[%s:%s:%d] " fmt "\n", \ 162 dev_info(&cam->usbdev->dev, "[%s:%s:%d] " fmt "\n", \
163 __FILE__, __FUNCTION__, __LINE__ , ## args); \ 163 __FILE__, __func__, __LINE__ , ## args); \
164 } \ 164 } \
165} while (0) 165} while (0)
166# define KDBG(level, fmt, args...) \ 166# define KDBG(level, fmt, args...) \
@@ -170,7 +170,7 @@ do { \
170 pr_info("zc0301: " fmt "\n", ## args); \ 170 pr_info("zc0301: " fmt "\n", ## args); \
171 else if ((level) == 3) \ 171 else if ((level) == 3) \
172 pr_debug("sn9c102: [%s:%s:%d] " fmt "\n", __FILE__, \ 172 pr_debug("sn9c102: [%s:%s:%d] " fmt "\n", __FILE__, \
173 __FUNCTION__, __LINE__ , ## args); \ 173 __func__, __LINE__ , ## args); \
174 } \ 174 } \
175} while (0) 175} while (0)
176# define V4LDBG(level, name, cmd) \ 176# define V4LDBG(level, name, cmd) \
@@ -186,7 +186,7 @@ do { \
186 186
187#undef PDBG 187#undef PDBG
188#define PDBG(fmt, args...) \ 188#define PDBG(fmt, args...) \
189dev_info(&cam->usbdev->dev, "[%s:%s:%d] " fmt "\n", __FILE__, __FUNCTION__, \ 189dev_info(&cam->usbdev->dev, "[%s:%s:%d] " fmt "\n", __FILE__, __func__, \
190 __LINE__ , ## args) 190 __LINE__ , ## args)
191 191
192#undef PDBGG 192#undef PDBGG