[media] em28xx: Make em28xx_ir_change_protocol a static function
authorEzequiel García <elezegarcia@gmail.com>
Sat, 9 Jun 2012 07:24:42 +0000 (04:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 18 Jun 2012 23:15:54 +0000 (20:15 -0300)
Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-input.c

index fce5f7680c99603938a931ade5a54fc351e11299..d2932f23638fd0ea0c7ad0ee1bdd932f6a757874 100644 (file)
@@ -345,7 +345,7 @@ static void em28xx_ir_stop(struct rc_dev *rc)
        cancel_delayed_work_sync(&ir->work);
 }
 
-int em28xx_ir_change_protocol(struct rc_dev *rc_dev, u64 rc_type)
+static int em28xx_ir_change_protocol(struct rc_dev *rc_dev, u64 rc_type)
 {
        int rc = 0;
        struct em28xx_IR *ir = rc_dev->priv;