diff options
author | Michael Hunold <devnull@localhost> | 2003-12-24 22:45:57 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2003-12-24 22:45:57 +0000 |
commit | e6325c3545525ac56f13c045a3e93f2a37c54d4e (patch) | |
tree | ff702b35425b2ac1905544256dad02cf9d7740c9 /linux/drivers/media/dvb/ttpci/av7110.c | |
parent | a499a350ae160d209e517e98b0ac2a72c9631cf9 (diff) | |
download | mediapointer-dvb-s2-e6325c3545525ac56f13c045a3e93f2a37c54d4e.tar.gz mediapointer-dvb-s2-e6325c3545525ac56f13c045a3e93f2a37c54d4e.tar.bz2 |
- use CONFIG_DVB_AV7110_FIRMWARE_FILE if we need to vfree() the firmware
strucure, not the kernel version number
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/av7110.c')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/av7110.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c index 89283bd6a..fcb7cdd61 100644 --- a/linux/drivers/media/dvb/ttpci/av7110.c +++ b/linux/drivers/media/dvb/ttpci/av7110.c @@ -4604,7 +4604,7 @@ static int av7110_attach (struct saa7146_dev* dev, struct saa7146_pci_extension_ av7110->bin_root = ptr; av7110->size_root = len; -#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)) +#ifdef CONFIG_DVB_AV7110_FIRMWARE_FILE vfree(fw); #endif /* go on with regular device initialization */ |