]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] pulse8-cec: declare function as static
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 12 Jul 2016 16:46:20 +0000 (13:46 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 12 Jul 2016 16:46:20 +0000 (13:46 -0300)
drivers/staging/media/pulse8-cec/pulse8-cec.c:104:6: warning: no previous prototype for 'pulse8_irq_work_handler' [-Wmissing-prototypes]
 void pulse8_irq_work_handler(struct work_struct *work)
      ^~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/pulse8-cec/pulse8-cec.c

index 13b8d84ea826ca516b2d3feb528ffc0f89e607c3..7d6d5ee64df90af744fc9cde47cb4d7cfba67a0d 100644 (file)
@@ -101,7 +101,7 @@ struct pulse8 {
        bool started;
 };
 
-void pulse8_irq_work_handler(struct work_struct *work)
+static void pulse8_irq_work_handler(struct work_struct *work)
 {
        struct pulse8 *pulse8 =
                container_of(work, struct pulse8, work);