Commit 04ad3a64 authored by Ebru Akagunduz's avatar Ebru Akagunduz Committed by Greg Kroah-Hartman

Staging:media: Fix Sparse Warnings "symbol was not declared. Should it be static?"

This patch fixes the Sparse Warnings "symbol was
not declared. Should it be static?"
Signed-off-by: default avatarEbru Akagunduz <ebru.akagunduz@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4fe130f2
...@@ -28,7 +28,7 @@ struct fw_config { ...@@ -28,7 +28,7 @@ struct fw_config {
const char * const fw_name2; const char * const fw_name2;
}; };
struct fw_config fw_configs[] = { static struct fw_config fw_configs[] = {
{ 0x1943, 0xa250, "go7007/s2250-1.fw", "go7007/s2250-2.fw" }, { 0x1943, 0xa250, "go7007/s2250-1.fw", "go7007/s2250-2.fw" },
{ 0x093b, 0xa002, "go7007/px-m402u.fw", NULL }, { 0x093b, 0xa002, "go7007/px-m402u.fw", NULL },
{ 0x093b, 0xa004, "go7007/px-tv402u.fw", NULL }, { 0x093b, 0xa004, "go7007/px-tv402u.fw", NULL },
......
...@@ -68,29 +68,29 @@ ...@@ -68,29 +68,29 @@
static bool debug; static bool debug;
static bool check_pselecd; static bool check_pselecd;
unsigned int irq = LIRC_IRQ; static unsigned int irq = LIRC_IRQ;
unsigned int io = LIRC_PORT; static unsigned int io = LIRC_PORT;
#ifdef LIRC_TIMER #ifdef LIRC_TIMER
unsigned int timer; static unsigned int timer;
unsigned int default_timer = LIRC_TIMER; static unsigned int default_timer = LIRC_TIMER;
#endif #endif
#define RBUF_SIZE (256) /* this must be a power of 2 larger than 1 */ #define RBUF_SIZE (256) /* this must be a power of 2 larger than 1 */
static int rbuf[RBUF_SIZE]; static int rbuf[RBUF_SIZE];
DECLARE_WAIT_QUEUE_HEAD(lirc_wait); static DECLARE_WAIT_QUEUE_HEAD(lirc_wait);
unsigned int rptr; static unsigned int rptr;
unsigned int wptr; static unsigned int wptr;
unsigned int lost_irqs; static unsigned int lost_irqs;
int is_open; static int is_open;
struct parport *pport; static struct parport *pport;
struct pardevice *ppdevice; static struct pardevice *ppdevice;
int is_claimed; static int is_claimed;
unsigned int tx_mask = 1; static unsigned int tx_mask = 1;
/*** Internal Functions ***/ /*** Internal Functions ***/
......
...@@ -40,7 +40,7 @@ MODULE_AUTHOR("Bluecherry <maintainers@bluecherrydvr.com>"); ...@@ -40,7 +40,7 @@ MODULE_AUTHOR("Bluecherry <maintainers@bluecherrydvr.com>");
MODULE_VERSION(SOLO6X10_VERSION); MODULE_VERSION(SOLO6X10_VERSION);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
unsigned video_nr = -1; static unsigned video_nr = -1;
module_param(video_nr, uint, 0644); module_param(video_nr, uint, 0644);
MODULE_PARM_DESC(video_nr, "videoX start number, -1 is autodetect (default)"); MODULE_PARM_DESC(video_nr, "videoX start number, -1 is autodetect (default)");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment