Commit e445e680 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] radio-maestro.c: gcc-3.5 fixes

  CC      drivers/media/radio/radio-maestro.o
drivers/media/radio/radio-maestro.c: In function `maestro_radio_init':
drivers/media/radio/radio-maestro.c:273: sorry, unimplemented: inlining failed in call to 'radio_install': function body not available
drivers/media/radio/radio-maestro.c:291: sorry, unimplemented: called from here
drivers/media/radio/radio-maestro.c:273: sorry, unimplemented: inlining failed in call to 'radio_install': function body not available
drivers/media/radio/radio-maestro.c:295: sorry, unimplemented: called from here
make[3]: *** [drivers/media/radio/radio-maestro.o] Error 1
Signed-off-by: default avatarAdrian Bunk <bunk@fs.tum.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent c7670acc
...@@ -270,7 +270,7 @@ static int radio_ioctl(struct inode *inode, struct file *file, ...@@ -270,7 +270,7 @@ static int radio_ioctl(struct inode *inode, struct file *file,
return ret; return ret;
} }
inline static __u16 radio_install(struct pci_dev *pcidev); static __u16 radio_install(struct pci_dev *pcidev);
MODULE_AUTHOR("Adam Tlalka, atlka@pg.gda.pl"); MODULE_AUTHOR("Adam Tlalka, atlka@pg.gda.pl");
MODULE_DESCRIPTION("Radio driver for the Maestro PCI sound card radio."); MODULE_DESCRIPTION("Radio driver for the Maestro PCI sound card radio.");
...@@ -324,7 +324,7 @@ inline static __u16 radio_power_on(struct radio_device *dev) ...@@ -324,7 +324,7 @@ inline static __u16 radio_power_on(struct radio_device *dev)
return (ofreq == radio_bits_get(dev)); return (ofreq == radio_bits_get(dev));
} }
inline static __u16 radio_install(struct pci_dev *pcidev) static __u16 radio_install(struct pci_dev *pcidev)
{ {
if(((pcidev->class >> 8) & 0xffff) != PCI_CLASS_MULTIMEDIA_AUDIO) if(((pcidev->class >> 8) & 0xffff) != PCI_CLASS_MULTIMEDIA_AUDIO)
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment