aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-10-27 11:44:41 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-10-27 16:02:20 -0400
commit7151e25900b68f894a453aab16e563f9b096df82 (patch)
tree3b4e70eea7f7e55a5d0135aebe7fa34edd44b1c7 /drivers/media
parentdafc456c5281d9bf4a4a171d465013c82d59afa2 (diff)
[media] dm1105: get rid of warning: no previous prototype
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/pci/dm1105/dm1105.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/pci/dm1105/dm1105.c b/drivers/media/pci/dm1105/dm1105.c
index a609b3a9b146..d0dfa5d07e33 100644
--- a/drivers/media/pci/dm1105/dm1105.c
+++ b/drivers/media/pci/dm1105/dm1105.c
@@ -736,7 +736,7 @@ static irqreturn_t dm1105_irq(int irq, void *dev_id)
736 return IRQ_HANDLED; 736 return IRQ_HANDLED;
737} 737}
738 738
739int __devinit dm1105_ir_init(struct dm1105_dev *dm1105) 739static int __devinit dm1105_ir_init(struct dm1105_dev *dm1105)
740{ 740{
741 struct rc_dev *dev; 741 struct rc_dev *dev;
742 int err = -ENOMEM; 742 int err = -ENOMEM;
@@ -776,7 +776,7 @@ int __devinit dm1105_ir_init(struct dm1105_dev *dm1105)
776 return 0; 776 return 0;
777} 777}
778 778
779void __devexit dm1105_ir_exit(struct dm1105_dev *dm1105) 779static void __devexit dm1105_ir_exit(struct dm1105_dev *dm1105)
780{ 780{
781 rc_unregister_device(dm1105->ir.dev); 781 rc_unregister_device(dm1105->ir.dev);
782} 782}