summaryrefslogtreecommitdiff
path: root/drivers/media/pci
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2015-05-22 05:30:02 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-30 11:20:50 -0300
commitdd2567c0f9629bddd3cdb6cee3b3b66f963464e5 (patch)
tree1af7adbab0c8ad4f6421664a09b8b10bbb708846 /drivers/media/pci
parent4a561c4b70b908c0b5cbcc8bc95bc796139e63ad (diff)
[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 <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci')
-rw-r--r--drivers/media/pci/cobalt/cobalt-cpld.c2
-rw-r--r--drivers/media/pci/cobalt/cobalt-flash.c2
2 files changed, 2 insertions, 2 deletions
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 <linux/delay.h>
-#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 <linux/mtd/cfi.h>
#include <linux/time.h>
-#include "cobalt-driver.h"
+#include "cobalt-flash.h"
#define ADRS(offset) (COBALT_BUS_FLASH_BASE + offset)