diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-03-11 22:48:33 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2009-03-11 22:48:33 +0100 |
commit | a9f7a944fa810879c33504a9081eaaafd3fe305e (patch) | |
tree | 1ec43f1e7faf681a1d501500c1446718e1f7647c /linux/drivers/media/dvb/firewire/firedtv-avc.c | |
parent | 4c282610aefee1fbf050e390ad0f1cccbb245e7a (diff) | |
download | mediapointer-dvb-s2-a9f7a944fa810879c33504a9081eaaafd3fe305e.tar.gz mediapointer-dvb-s2-a9f7a944fa810879c33504a9081eaaafd3fe305e.tar.bz2 |
fired-avc: fix print_hex_dump warning on 2.6.22.
From: Hans Verkuil <hverkuil@xs4all.nl>
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/dvb/firewire/firedtv-avc.c')
-rw-r--r-- | linux/drivers/media/dvb/firewire/firedtv-avc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/firewire/firedtv-avc.c b/linux/drivers/media/dvb/firewire/firedtv-avc.c index af8fdf706..d8dae2599 100644 --- a/linux/drivers/media/dvb/firewire/firedtv-avc.c +++ b/linux/drivers/media/dvb/firewire/firedtv-avc.c @@ -157,8 +157,13 @@ static void debug_fcp(const u8 *data, size_t length) } if (avc_debug & AVC_DEBUG_FCP_PAYLOADS) +#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 22) print_hex_dump(KERN_INFO, prefix, DUMP_PREFIX_NONE, 16, 1, data, length, false); +#else + print_hex_dump(KERN_INFO, prefix, DUMP_PREFIX_NONE, 16, 1, + (void *)data, length, false); +#endif } static int __avc_write(struct firedtv *fdtv, |