aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/radio-maxiradio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/radio/radio-maxiradio.c')
-rw-r--r--drivers/media/radio/radio-maxiradio.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/radio/radio-maxiradio.c b/drivers/media/radio/radio-maxiradio.c
index b415211d0c4b..bd4d3a7cdadd 100644
--- a/drivers/media/radio/radio-maxiradio.c
+++ b/drivers/media/radio/radio-maxiradio.c
@@ -114,7 +114,8 @@ static struct snd_tea575x_ops maxiradio_tea_ops = {
114 .set_direction = maxiradio_tea575x_set_direction, 114 .set_direction = maxiradio_tea575x_set_direction,
115}; 115};
116 116
117static int __devinit maxiradio_probe(struct pci_dev *pdev, const struct pci_device_id *ent) 117static int maxiradio_probe(struct pci_dev *pdev,
118 const struct pci_device_id *ent)
118{ 119{
119 struct maxiradio *dev; 120 struct maxiradio *dev;
120 struct v4l2_device *v4l2_dev; 121 struct v4l2_device *v4l2_dev;
@@ -172,7 +173,7 @@ errfr:
172 return retval; 173 return retval;
173} 174}
174 175
175static void __devexit maxiradio_remove(struct pci_dev *pdev) 176static void maxiradio_remove(struct pci_dev *pdev)
176{ 177{
177 struct v4l2_device *v4l2_dev = dev_get_drvdata(&pdev->dev); 178 struct v4l2_device *v4l2_dev = dev_get_drvdata(&pdev->dev);
178 struct maxiradio *dev = to_maxiradio(v4l2_dev); 179 struct maxiradio *dev = to_maxiradio(v4l2_dev);
@@ -196,7 +197,7 @@ static struct pci_driver maxiradio_driver = {
196 .name = "radio-maxiradio", 197 .name = "radio-maxiradio",
197 .id_table = maxiradio_pci_tbl, 198 .id_table = maxiradio_pci_tbl,
198 .probe = maxiradio_probe, 199 .probe = maxiradio_probe,
199 .remove = __devexit_p(maxiradio_remove), 200 .remove = maxiradio_remove,
200}; 201};
201 202
202static int __init maxiradio_init(void) 203static int __init maxiradio_init(void)