From: Hans Verkuil Date: Fri, 22 May 2015 08:30:02 +0000 (-0300) Subject: [media] cobalt: fix sparse warnings X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dd2567c0f9629bddd3cdb6cee3b3b66f963464e5;p=linux-beck.git [media] cobalt: fix sparse warnings drivers/media/pci/cobalt/cobalt-flash.c:101:5: warning: symbol 'cobalt_flash_probe' was not declared. Should it be static? drivers/media/pci/cobalt/cobalt-flash.c:126:6: warning: symbol 'cobalt_flash_remove' was not declared. Should it be static? drivers/media/pci/cobalt/cobalt-cpld.c:101:6: warning: symbol 'cobalt_cpld_status' was not declared. Should it be static? drivers/media/pci/cobalt/cobalt-cpld.c:240:6: warning: symbol 'cobalt_cpld_set_freq' was not declared. Should it be static? Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/pci/cobalt/cobalt-cpld.c b/drivers/media/pci/cobalt/cobalt-cpld.c index 05df4584b2e2..5a28d9b28dc9 100644 --- a/drivers/media/pci/cobalt/cobalt-cpld.c +++ b/drivers/media/pci/cobalt/cobalt-cpld.c @@ -20,7 +20,7 @@ #include -#include "cobalt-driver.h" +#include "cobalt-cpld.h" #define ADRS(offset) (COBALT_BUS_CPLD_BASE + offset) diff --git a/drivers/media/pci/cobalt/cobalt-flash.c b/drivers/media/pci/cobalt/cobalt-flash.c index 89fd667962f4..04dcaf9198d2 100644 --- a/drivers/media/pci/cobalt/cobalt-flash.c +++ b/drivers/media/pci/cobalt/cobalt-flash.c @@ -23,7 +23,7 @@ #include #include -#include "cobalt-driver.h" +#include "cobalt-flash.h" #define ADRS(offset) (COBALT_BUS_FLASH_BASE + offset)