Commit 1f74c04d authored by Rashika Kheria's avatar Rashika Kheria Committed by Greg Kroah-Hartman

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: default avatarRashika Kheria <rashika.kheria@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 21624981
...@@ -240,7 +240,7 @@ void cpld_select_panel(struct channel *sc, u32 panel) ...@@ -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) if (sc->p.clock_source == mode)
return; return;
......
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