diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-09-06 16:18:47 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2007-09-06 16:18:47 -0400 |
commit | 5c425b0ed1e98e581a7f9cb63d16225aca0b2987 (patch) | |
tree | bfe56a042dfb4c890e35f1c6f0d0a096e3d162d7 /linux/drivers/media/video/tuner-i2c.h | |
parent | ed129684f8f1715a59248d413db621a71c96e285 (diff) | |
download | mediapointer-dvb-s2-5c425b0ed1e98e581a7f9cb63d16225aca0b2987.tar.gz mediapointer-dvb-s2-5c425b0ed1e98e581a7f9cb63d16225aca0b2987.tar.bz2 |
tuner: fix compat for kernel versions 2.6.15 and earlier
From: Michael Krufky <mkrufky@linuxtv.org>
Fix a typo in tuner_dbg that broke the build against older kernels.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/video/tuner-i2c.h')
-rw-r--r-- | linux/drivers/media/video/tuner-i2c.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/tuner-i2c.h b/linux/drivers/media/video/tuner-i2c.h index cc9ff9f97..422817129 100644 --- a/linux/drivers/media/video/tuner-i2c.h +++ b/linux/drivers/media/video/tuner-i2c.h @@ -57,7 +57,7 @@ static inline int tuner_i2c_xfer_recv(struct tuner_i2c_props *props, char *buf, #define tuner_dbg(fmt, arg...) do {\ if ((debug)) \ printk(KERN_DEBUG PREFIX "%d-%04x: " fmt, \ - i2c_adapter_id(priv->i2c_props.adapter), priv->i2c_props.addr , ##arg); } while (0) + i2c_adapter_id(priv->i2c_props.adap), priv->i2c_props.addr , ##arg); } while (0) #else #define tuner_warn(fmt, arg...) do {\ printk(KERN_WARNING PREFIX "%d-%04x: " fmt, \ |