summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux/drivers/media/dvb/Makefile1
-rw-r--r--linux/drivers/media/dvb/av7110/saa7146_core.c12
2 files changed, 7 insertions, 6 deletions
diff --git a/linux/drivers/media/dvb/Makefile b/linux/drivers/media/dvb/Makefile
index ad647fcfe..dfd6ced04 100644
--- a/linux/drivers/media/dvb/Makefile
+++ b/linux/drivers/media/dvb/Makefile
@@ -5,3 +5,4 @@
obj-y := dvb-core/ frontends/ av7110/
include $(TOPDIR)/Rules.make
+
diff --git a/linux/drivers/media/dvb/av7110/saa7146_core.c b/linux/drivers/media/dvb/av7110/saa7146_core.c
index ad2b490a0..220163acc 100644
--- a/linux/drivers/media/dvb/av7110/saa7146_core.c
+++ b/linux/drivers/media/dvb/av7110/saa7146_core.c
@@ -905,12 +905,12 @@ static struct pci_device_id saa7146_pci_tbl[] __devinitdata = {
MODULE_DEVICE_TABLE(pci, saa7146_pci_tbl);
static struct pci_driver saa7146_driver = {
- name: "saa7146",
- id_table: saa7146_pci_tbl,
- probe: saa7146_init_one,
- remove: saa7146_remove_one,
- suspend: saa7146_suspend,
- resume: saa7146_resume,
+ .name = "saa7146",
+ .id_table = saa7146_pci_tbl,
+ .probe = saa7146_init_one,
+ .remove = __devexit_p(saa7146_remove_one),
+ .suspend = saa7146_suspend,
+ .resume = saa7146_resume,
};