diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-08 22:20:00 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:58 -0400 |
commit | 3ca7fc84e37c5cf446fe4137f885f74e71373d7f (patch) | |
tree | 236bae57740ccd8308c740fc635a43c84b136b10 /drivers/media/dvb/ttpci/av7110_ir.c | |
parent | 271ddbf702c3a4e6b18f6464180eda0f62efd9a5 (diff) |
V4L/DVB (7515): media/dvb/ttpci replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/ttpci/av7110_ir.c')
-rw-r--r-- | drivers/media/dvb/ttpci/av7110_ir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/dvb/ttpci/av7110_ir.c b/drivers/media/dvb/ttpci/av7110_ir.c index a283e1de83fa..23a1c6380d3f 100644 --- a/drivers/media/dvb/ttpci/av7110_ir.c +++ b/drivers/media/dvb/ttpci/av7110_ir.c | |||
@@ -133,7 +133,7 @@ static void av7110_emit_key(unsigned long parm) | |||
133 | break; | 133 | break; |
134 | 134 | ||
135 | default: | 135 | default: |
136 | printk("%s invalid protocol %x\n", __FUNCTION__, ir->protocol); | 136 | printk("%s invalid protocol %x\n", __func__, ir->protocol); |
137 | return; | 137 | return; |
138 | } | 138 | } |
139 | 139 | ||
@@ -143,7 +143,7 @@ static void av7110_emit_key(unsigned long parm) | |||
143 | keycode = ir->key_map[data]; | 143 | keycode = ir->key_map[data]; |
144 | 144 | ||
145 | dprintk(16, "%s: code %08x -> addr %i data 0x%02x -> keycode %i\n", | 145 | dprintk(16, "%s: code %08x -> addr %i data 0x%02x -> keycode %i\n", |
146 | __FUNCTION__, ircom, addr, data, keycode); | 146 | __func__, ircom, addr, data, keycode); |
147 | 147 | ||
148 | /* check device address */ | 148 | /* check device address */ |
149 | if (!(ir->device_mask & (1 << addr))) | 149 | if (!(ir->device_mask & (1 << addr))) |
@@ -151,7 +151,7 @@ static void av7110_emit_key(unsigned long parm) | |||
151 | 151 | ||
152 | if (!keycode) { | 152 | if (!keycode) { |
153 | printk ("%s: code %08x -> addr %i data 0x%02x -> unknown key!\n", | 153 | printk ("%s: code %08x -> addr %i data 0x%02x -> unknown key!\n", |
154 | __FUNCTION__, ircom, addr, data); | 154 | __func__, ircom, addr, data); |
155 | return; | 155 | return; |
156 | } | 156 | } |
157 | 157 | ||