summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux/drivers/media/radio/radio-gemtek-pci.c5
-rw-r--r--linux/drivers/media/video/meye.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/linux/drivers/media/radio/radio-gemtek-pci.c b/linux/drivers/media/radio/radio-gemtek-pci.c
index 4829eea69..02242f1b3 100644
--- a/linux/drivers/media/radio/radio-gemtek-pci.c
+++ b/linux/drivers/media/radio/radio-gemtek-pci.c
@@ -433,8 +433,13 @@ static int __devinit gemtek_pci_probe( struct pci_dev *pci_dev, const struct pci
devradio->priv = card;
gemtek_pci_mute( card );
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,22)
printk( KERN_INFO "Gemtek PCI Radio (rev. %d) found at 0x%04x-0x%04x.\n",
pci_dev->revision, card->iobase, card->iobase + card->length - 1 );
+#else
+ printk( KERN_INFO "Gemtek PCI Radio found at 0x%04x-0x%04x.\n",
+ card->iobase, card->iobase + card->length - 1 );
+#endif
return 0;
diff --git a/linux/drivers/media/video/meye.c b/linux/drivers/media/video/meye.c
index ca290001a..be29d0483 100644
--- a/linux/drivers/media/video/meye.c
+++ b/linux/drivers/media/video/meye.c
@@ -1941,8 +1941,13 @@ static int __devinit meye_probe(struct pci_dev *pcidev,
printk(KERN_INFO "meye: Motion Eye Camera Driver v%s.\n",
MEYE_DRIVER_VERSION);
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,22)
printk(KERN_INFO "meye: mchip KL5A72002 rev. %d, base %lx, irq %d\n",
meye.mchip_dev->revision, mchip_adr, meye.mchip_irq);
+#else
+ printk(KERN_INFO "meye: mchip KL5A72002, base %lx, irq %d\n",
+ mchip_adr, meye.mchip_irq);
+#endif
return 0;