summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2006-05-03 14:17:31 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2006-05-03 14:17:31 -0400
commitdee79512a9d26c008623ef7b193eb7440567e186 (patch)
tree4e7f171fef0fb2183b0650abb813fae69c73b827 /linux/drivers/media/video/cx88
parent113182f6138901821b513eaf424f403ae0d7aa23 (diff)
downloadmediapointer-dvb-s2-dee79512a9d26c008623ef7b193eb7440567e186.tar.gz
mediapointer-dvb-s2-dee79512a9d26c008623ef7b193eb7440567e186.tar.bz2
fix build for older gcc's that dont support compiler macros in a function call
From: Julian Scheel <julian@jusst.de> This patch fixes the build when using older gcc-versions which do not support compiler-macros in a function-call. Signed-off-by: Julian Scheel <julian@jusst.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/video/cx88')
-rw-r--r--linux/drivers/media/video/cx88/cx88-i2c.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-i2c.c b/linux/drivers/media/video/cx88/cx88-i2c.c
index 1e9bd01de..69a39ad68 100644
--- a/linux/drivers/media/video/cx88/cx88-i2c.c
+++ b/linux/drivers/media/video/cx88/cx88-i2c.c
@@ -98,10 +98,11 @@ static int attach_inform(struct i2c_client *client)
struct tuner_setup tun_setup;
struct cx88_core *core = i2c_get_adapdata(client->adapter);
- dprintk(1, "%s i2c attach [addr=0x%x,client=%s]\n",
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,15)
+ dprintk(1, "%s i2c attach [addr=0x%x,client=%s]\n",
client->driver->name, client->addr, client->name);
#else
+ dprintk(1, "%s i2c attach [addr=0x%x,client=%s]\n",
client->driver->driver.name, client->addr, client->name);
#endif
if (!client->driver->command)