aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2014-01-14 21:46:06 -0500
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-15 06:12:51 -0500
commitb3c8154eb9a19d45355a53d81d2ccdbc22d0cdab (patch)
treeac9fabec18676848eeacf9fdccb8d8e7f2d0f27c
parentff0284cc0bf13f08e19fbf364fafabe9e61a7342 (diff)
[media] radio-usb-si4713: fix sparse non static symbol warnings
Fixes the following sparse warnings: drivers/media/radio/si4713/radio-usb-si4713.c:226:31: warning: symbol 'start_seq' was not declared. Should it be static? drivers/media/radio/si4713/radio-usb-si4713.c:291:29: warning: symbol 'command_table' was not declared. Should it be static? Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
-rw-r--r--drivers/media/radio/si4713/radio-usb-si4713.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/radio/si4713/radio-usb-si4713.c b/drivers/media/radio/si4713/radio-usb-si4713.c
index f1e640d71188..779855b74bcd 100644
--- a/drivers/media/radio/si4713/radio-usb-si4713.c
+++ b/drivers/media/radio/si4713/radio-usb-si4713.c
@@ -223,7 +223,7 @@ struct si4713_start_seq_table {
223 * (0x03): Get serial number of the board (Response : CB000-00-00) 223 * (0x03): Get serial number of the board (Response : CB000-00-00)
224 * (0x06, 0x03, 0x03, 0x08, 0x01, 0x0f) : Get Component revision 224 * (0x06, 0x03, 0x03, 0x08, 0x01, 0x0f) : Get Component revision
225 */ 225 */
226struct si4713_start_seq_table start_seq[] = { 226static struct si4713_start_seq_table start_seq[] = {
227 227
228 { 1, { 0x03 } }, 228 { 1, { 0x03 } },
229 { 2, { 0x32, 0x7f } }, 229 { 2, { 0x32, 0x7f } },
@@ -288,7 +288,7 @@ struct si4713_command_table {
288 * Byte 4 : Number of arguments + 1 (for the command byte) 288 * Byte 4 : Number of arguments + 1 (for the command byte)
289 * Byte 5 : Number of response bytes 289 * Byte 5 : Number of response bytes
290 */ 290 */
291struct si4713_command_table command_table[] = { 291static struct si4713_command_table command_table[] = {
292 292
293 { SI4713_CMD_POWER_UP, { 0x00, SI4713_PWUP_NARGS + 1, SI4713_PWUP_NRESP} }, 293 { SI4713_CMD_POWER_UP, { 0x00, SI4713_PWUP_NARGS + 1, SI4713_PWUP_NRESP} },
294 { SI4713_CMD_GET_REV, { 0x03, 0x01, SI4713_GETREV_NRESP } }, 294 { SI4713_CMD_GET_REV, { 0x03, 0x01, SI4713_GETREV_NRESP } },