aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx23885')
-rw-r--r--drivers/media/video/cx23885/cx23885-core.c4
-rw-r--r--drivers/media/video/cx23885/cx23885-dvb.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/cx23885/cx23885-core.c b/drivers/media/video/cx23885/cx23885-core.c
index c31284ba19dd..fa2d350e20fd 100644
--- a/drivers/media/video/cx23885/cx23885-core.c
+++ b/drivers/media/video/cx23885/cx23885-core.c
@@ -1957,7 +1957,7 @@ static struct pci_driver cx23885_pci_driver = {
1957 .resume = NULL, 1957 .resume = NULL,
1958}; 1958};
1959 1959
1960static int cx23885_init(void) 1960static int __init cx23885_init(void)
1961{ 1961{
1962 printk(KERN_INFO "cx23885 driver version %d.%d.%d loaded\n", 1962 printk(KERN_INFO "cx23885 driver version %d.%d.%d loaded\n",
1963 (CX23885_VERSION_CODE >> 16) & 0xff, 1963 (CX23885_VERSION_CODE >> 16) & 0xff,
@@ -1970,7 +1970,7 @@ static int cx23885_init(void)
1970 return pci_register_driver(&cx23885_pci_driver); 1970 return pci_register_driver(&cx23885_pci_driver);
1971} 1971}
1972 1972
1973static void cx23885_fini(void) 1973static void __exit cx23885_fini(void)
1974{ 1974{
1975 pci_unregister_driver(&cx23885_pci_driver); 1975 pci_unregister_driver(&cx23885_pci_driver);
1976} 1976}
diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c
index 45e13ee66dc7..16c6a921f40b 100644
--- a/drivers/media/video/cx23885/cx23885-dvb.c
+++ b/drivers/media/video/cx23885/cx23885-dvb.c
@@ -940,7 +940,7 @@ int cx23885_dvb_register(struct cx23885_tsport *port)
940 int err, i; 940 int err, i;
941 941
942 /* Here we need to allocate the correct number of frontends, 942 /* Here we need to allocate the correct number of frontends,
943 * as reflected in the cards struct. The reality is that currrently 943 * as reflected in the cards struct. The reality is that currently
944 * no cx23885 boards support this - yet. But, if we don't modify this 944 * no cx23885 boards support this - yet. But, if we don't modify this
945 * code then the second frontend would never be allocated (later) 945 * code then the second frontend would never be allocated (later)
946 * and fail with error before the attach in dvb_register(). 946 * and fail with error before the attach in dvb_register().