aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/bt8xx/bttv-driver.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-01-28 16:36:23 -0500
committerOlof Johansson <olof@lixom.net>2013-01-28 16:36:23 -0500
commit7bcdd8d5e31db4f49ae52580e86723c376ee0999 (patch)
treebd252895046e9e17d3ab74b6a4d592b74976ca99 /drivers/media/pci/bt8xx/bttv-driver.c
parent96e61b8e34ea4982ce57319c19ab73e9e5d74165 (diff)
parentf8060f5446b1f2782f0a8ca9be2d870ea4198aee (diff)
Merge branch 'depends/cleanup' into next/drivers
* depends/cleanup: (375 commits) ARM: at91: fix board-rm9200-dt after sys_timer conversion clocksource: use clockevents_config_and_register() where possible ARM: use clockevents_config_and_register() where possible clockevents: export clockevents_config_and_register for module use timer: vt8500: Move timer code to drivers/clocksource irqchip: Move ARM vic.h to include/linux/irqchip/arm-vic.h ARM: picoxcell: use common irqchip_init function ARM: spear: use common irqchip_init function irqchip: Move ARM VIC to drivers/irqchip ARM: samsung: remove unused tick.h ARM: remove unneeded vic.h includes ARM: remove mach .handle_irq for VIC users ARM: VIC: set handle_arch_irq in VIC initialization ARM: VIC: shrink down vic.h irqchip: Move ARM gic.h to include/linux/irqchip/arm-gic.h ARM: use common irqchip_init for GIC init irqchip: Move ARM GIC to drivers/irqchip ARM: remove mach .handle_irq for GIC users ARM: GIC: set handle_arch_irq in GIC initialization ARM: GIC: remove direct use of gic_raise_softirq ...
Diffstat (limited to 'drivers/media/pci/bt8xx/bttv-driver.c')
-rw-r--r--drivers/media/pci/bt8xx/bttv-driver.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/media/pci/bt8xx/bttv-driver.c b/drivers/media/pci/bt8xx/bttv-driver.c
index de6f41f19187..45e5d0661b60 100644
--- a/drivers/media/pci/bt8xx/bttv-driver.c
+++ b/drivers/media/pci/bt8xx/bttv-driver.c
@@ -4199,7 +4199,7 @@ static void bttv_unregister_video(struct bttv *btv)
4199} 4199}
4200 4200
4201/* register video4linux devices */ 4201/* register video4linux devices */
4202static int __devinit bttv_register_video(struct bttv *btv) 4202static int bttv_register_video(struct bttv *btv)
4203{ 4203{
4204 if (no_overlay > 0) 4204 if (no_overlay > 0)
4205 pr_notice("Overlay support disabled\n"); 4205 pr_notice("Overlay support disabled\n");
@@ -4265,8 +4265,7 @@ static void pci_set_command(struct pci_dev *dev)
4265#endif 4265#endif
4266} 4266}
4267 4267
4268static int __devinit bttv_probe(struct pci_dev *dev, 4268static int bttv_probe(struct pci_dev *dev, const struct pci_device_id *pci_id)
4269 const struct pci_device_id *pci_id)
4270{ 4269{
4271 int result; 4270 int result;
4272 unsigned char lat; 4271 unsigned char lat;
@@ -4454,7 +4453,7 @@ fail0:
4454 return result; 4453 return result;
4455} 4454}
4456 4455
4457static void __devexit bttv_remove(struct pci_dev *pci_dev) 4456static void bttv_remove(struct pci_dev *pci_dev)
4458{ 4457{
4459 struct v4l2_device *v4l2_dev = pci_get_drvdata(pci_dev); 4458 struct v4l2_device *v4l2_dev = pci_get_drvdata(pci_dev);
4460 struct bttv *btv = to_bttv(v4l2_dev); 4459 struct bttv *btv = to_bttv(v4l2_dev);
@@ -4598,7 +4597,7 @@ static struct pci_driver bttv_pci_driver = {
4598 .name = "bttv", 4597 .name = "bttv",
4599 .id_table = bttv_pci_tbl, 4598 .id_table = bttv_pci_tbl,
4600 .probe = bttv_probe, 4599 .probe = bttv_probe,
4601 .remove = __devexit_p(bttv_remove), 4600 .remove = bttv_remove,
4602#ifdef CONFIG_PM 4601#ifdef CONFIG_PM
4603 .suspend = bttv_suspend, 4602 .suspend = bttv_suspend,
4604 .resume = bttv_resume, 4603 .resume = bttv_resume,