[media] cobalt: fix sparse warnings
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 22 May 2015 08:30:02 +0000 (05:30 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 30 May 2015 14:20:50 +0000 (11:20 -0300)
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>
drivers/media/pci/cobalt/cobalt-cpld.c
drivers/media/pci/cobalt/cobalt-flash.c

index 05df4584b2e2d33d2ee2ead742fb4980f310a5cf..5a28d9b28dc916059707f77d66339d580e7f7550 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <linux/delay.h>
 
-#include "cobalt-driver.h"
+#include "cobalt-cpld.h"
 
 #define ADRS(offset) (COBALT_BUS_CPLD_BASE + offset)
 
index 89fd667962f4e8f4d0e09cfbe65f24781026573d..04dcaf9198d2dc111517eac41f348ebf4b8660b5 100644 (file)
@@ -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)