Commit 7d3c8e8f authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Mauro Carvalho Chehab

[media] m88rs2000: fix sparse static warnings

fix the following warnings:
m88rs2000.c:300:16: warning: symbol 'm88rs2000_setup' was not declared. Should it be static?
m88rs2000.c:318:16: warning: symbol 'm88rs2000_shutdown' was not declared. Should it be static?
m88rs2000.c:328:16: warning: symbol 'fe_reset' was not declared. Should it be static?
m88rs2000.c:366:16: warning: symbol 'fe_trigger' was not declared. Should it be static?
Signed-off-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 534c9214
...@@ -297,7 +297,7 @@ struct inittab { ...@@ -297,7 +297,7 @@ struct inittab {
u8 val; u8 val;
}; };
struct inittab m88rs2000_setup[] = { static struct inittab m88rs2000_setup[] = {
{DEMOD_WRITE, 0x9a, 0x30}, {DEMOD_WRITE, 0x9a, 0x30},
{DEMOD_WRITE, 0x00, 0x01}, {DEMOD_WRITE, 0x00, 0x01},
{WRITE_DELAY, 0x19, 0x00}, {WRITE_DELAY, 0x19, 0x00},
...@@ -315,7 +315,7 @@ struct inittab m88rs2000_setup[] = { ...@@ -315,7 +315,7 @@ struct inittab m88rs2000_setup[] = {
{0xff, 0xaa, 0xff} {0xff, 0xaa, 0xff}
}; };
struct inittab m88rs2000_shutdown[] = { static struct inittab m88rs2000_shutdown[] = {
{DEMOD_WRITE, 0x9a, 0x30}, {DEMOD_WRITE, 0x9a, 0x30},
{DEMOD_WRITE, 0xb0, 0x00}, {DEMOD_WRITE, 0xb0, 0x00},
{DEMOD_WRITE, 0xf1, 0x89}, {DEMOD_WRITE, 0xf1, 0x89},
...@@ -325,7 +325,7 @@ struct inittab m88rs2000_shutdown[] = { ...@@ -325,7 +325,7 @@ struct inittab m88rs2000_shutdown[] = {
{0xff, 0xaa, 0xff} {0xff, 0xaa, 0xff}
}; };
struct inittab fe_reset[] = { static struct inittab fe_reset[] = {
{DEMOD_WRITE, 0x00, 0x01}, {DEMOD_WRITE, 0x00, 0x01},
{DEMOD_WRITE, 0x20, 0x81}, {DEMOD_WRITE, 0x20, 0x81},
{DEMOD_WRITE, 0x21, 0x80}, {DEMOD_WRITE, 0x21, 0x80},
...@@ -363,7 +363,7 @@ struct inittab fe_reset[] = { ...@@ -363,7 +363,7 @@ struct inittab fe_reset[] = {
{0xff, 0xaa, 0xff} {0xff, 0xaa, 0xff}
}; };
struct inittab fe_trigger[] = { static struct inittab fe_trigger[] = {
{DEMOD_WRITE, 0x97, 0x04}, {DEMOD_WRITE, 0x97, 0x04},
{DEMOD_WRITE, 0x99, 0x77}, {DEMOD_WRITE, 0x99, 0x77},
{DEMOD_WRITE, 0x9b, 0x64}, {DEMOD_WRITE, 0x9b, 0x64},
......
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