aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/sta2x11/sta2x11_vip.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/pci/sta2x11/sta2x11_vip.c')
-rw-r--r--drivers/media/pci/sta2x11/sta2x11_vip.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/pci/sta2x11/sta2x11_vip.c b/drivers/media/pci/sta2x11/sta2x11_vip.c
index 4c10205264d4..27ae48842656 100644
--- a/drivers/media/pci/sta2x11/sta2x11_vip.c
+++ b/drivers/media/pci/sta2x11/sta2x11_vip.c
@@ -1205,8 +1205,8 @@ static void vip_gpio_release(struct device *dev, int pin, const char *name)
1205 * 1205 *
1206 * -ENODEV, device could not be detected or registered 1206 * -ENODEV, device could not be detected or registered
1207 */ 1207 */
1208static int __devinit sta2x11_vip_init_one(struct pci_dev *pdev, 1208static int sta2x11_vip_init_one(struct pci_dev *pdev,
1209 const struct pci_device_id *ent) 1209 const struct pci_device_id *ent)
1210{ 1210{
1211 int ret; 1211 int ret;
1212 struct sta2x11_vip *vip; 1212 struct sta2x11_vip *vip;
@@ -1376,7 +1376,7 @@ disable:
1376 * free memory 1376 * free memory
1377 * free GPIO pins 1377 * free GPIO pins
1378 */ 1378 */
1379static void __devexit sta2x11_vip_remove_one(struct pci_dev *pdev) 1379static void sta2x11_vip_remove_one(struct pci_dev *pdev)
1380{ 1380{
1381 struct v4l2_device *v4l2_dev = pci_get_drvdata(pdev); 1381 struct v4l2_device *v4l2_dev = pci_get_drvdata(pdev);
1382 struct sta2x11_vip *vip = 1382 struct sta2x11_vip *vip =
@@ -1517,7 +1517,7 @@ static DEFINE_PCI_DEVICE_TABLE(sta2x11_vip_pci_tbl) = {
1517static struct pci_driver sta2x11_vip_driver = { 1517static struct pci_driver sta2x11_vip_driver = {
1518 .name = DRV_NAME, 1518 .name = DRV_NAME,
1519 .probe = sta2x11_vip_init_one, 1519 .probe = sta2x11_vip_init_one,
1520 .remove = __devexit_p(sta2x11_vip_remove_one), 1520 .remove = sta2x11_vip_remove_one,
1521 .id_table = sta2x11_vip_pci_tbl, 1521 .id_table = sta2x11_vip_pci_tbl,
1522#ifdef CONFIG_PM 1522#ifdef CONFIG_PM
1523 .suspend = sta2x11_vip_suspend, 1523 .suspend = sta2x11_vip_suspend,