summaryrefslogtreecommitdiff
path: root/drivers/staging/sbe-2t3e3
diff options
context:
space:
mode:
authorRashika Kheria <rashika.kheria@gmail.com>2013-10-26 17:59:50 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-28 14:54:49 -0700
commit1f74c04d224a2885974c62ff425e422a54579c36 (patch)
treec2cbaddba527779b00ded9bcaebfe1aded90a7d3 /drivers/staging/sbe-2t3e3
parent216249819ff9fac9ba9f2d06c26194669b42a94a (diff)
Staging: sbe-2t3e3: Fix smatch warning of function definition with external linkage
This patch fixes the following smatch warning in cpld.c- drivers/staging/sbe-2t3e3/cpld.c:243:13: warning: function 'cpld_set_clock' with external linkage has definition Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sbe-2t3e3')
-rw-r--r--drivers/staging/sbe-2t3e3/cpld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sbe-2t3e3/cpld.c b/drivers/staging/sbe-2t3e3/cpld.c
index 27365f9bc0b0..c6370d3d637f 100644
--- a/drivers/staging/sbe-2t3e3/cpld.c
+++ b/drivers/staging/sbe-2t3e3/cpld.c
@@ -240,7 +240,7 @@ void cpld_select_panel(struct channel *sc, u32 panel)
}
-extern void cpld_set_clock(struct channel *sc, u32 mode)
+void cpld_set_clock(struct channel *sc, u32 mode)
{
if (sc->p.clock_source == mode)
return;