Commit 7151e259 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] dm1105: get rid of warning: no previous prototype

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent dafc456c
...@@ -736,7 +736,7 @@ static irqreturn_t dm1105_irq(int irq, void *dev_id) ...@@ -736,7 +736,7 @@ static irqreturn_t dm1105_irq(int irq, void *dev_id)
return IRQ_HANDLED; 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; struct rc_dev *dev;
int err = -ENOMEM; int err = -ENOMEM;
...@@ -776,7 +776,7 @@ int __devinit dm1105_ir_init(struct dm1105_dev *dm1105) ...@@ -776,7 +776,7 @@ int __devinit dm1105_ir_init(struct dm1105_dev *dm1105)
return 0; 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); rc_unregister_device(dm1105->ir.dev);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment