summaryrefslogtreecommitdiffstats
path: root/drivers/media/radio
diff options
context:
space:
mode:
authorHans Verkuil2013-10-04 16:01:46 +0200
committerMauro Carvalho Chehab2013-10-15 17:59:16 +0200
commit883cdd5e3b71703d95b3d414abd8bef1b6217dd0 (patch)
treebbc4c7f7479bcb4cf1c1f9b951bce992dda54ca7 /drivers/media/radio
parent[media] tuner-xs2028.c: fix sparse warnings (diff)
downloadkernel-qcow2-linux-883cdd5e3b71703d95b3d414abd8bef1b6217dd0.tar.gz
kernel-qcow2-linux-883cdd5e3b71703d95b3d414abd8bef1b6217dd0.tar.xz
kernel-qcow2-linux-883cdd5e3b71703d95b3d414abd8bef1b6217dd0.zip
[media] fmdrv_common: fix sparse warning
drivers/media/radio/wl128x/fmdrv_common.c:178:6: warning: symbol 'g_st_write' was not declared. Should it be static? Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/radio')
-rw-r--r--drivers/media/radio/wl128x/fmdrv_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/wl128x/fmdrv_common.c b/drivers/media/radio/wl128x/fmdrv_common.c
index 253f307f0b37..4b2e9e8298e1 100644
--- a/drivers/media/radio/wl128x/fmdrv_common.c
+++ b/drivers/media/radio/wl128x/fmdrv_common.c
@@ -175,7 +175,7 @@ static int_handler_prototype int_handler_table[] = {
fm_irq_handle_intmsk_cmd_resp
};
-long (*g_st_write) (struct sk_buff *skb);
+static long (*g_st_write) (struct sk_buff *skb);
static struct completion wait_for_fmdrv_reg_comp;
static inline void fm_irq_call(struct fmdev *fmdev)