summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110.c2
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 */