From: Mauro Carvalho Chehab Date: Sat, 27 Oct 2012 15:44:41 +0000 (-0300) Subject: [media] dm1105: get rid of warning: no previous prototype X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7151e25900b68f894a453aab16e563f9b096df82;p=openwrt%2Fstaging%2Fblogic.git [media] dm1105: get rid of warning: no previous prototype Signed-off-by: Mauro Carvalho Chehab --- 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) return IRQ_HANDLED; } -int __devinit dm1105_ir_init(struct dm1105_dev *dm1105) +static int __devinit dm1105_ir_init(struct dm1105_dev *dm1105) { struct rc_dev *dev; int err = -ENOMEM; @@ -776,7 +776,7 @@ int __devinit dm1105_ir_init(struct dm1105_dev *dm1105) return 0; } -void __devexit dm1105_ir_exit(struct dm1105_dev *dm1105) +static void __devexit dm1105_ir_exit(struct dm1105_dev *dm1105) { rc_unregister_device(dm1105->ir.dev); }