Commit 36f0efbb authored by Wu Fengguang's avatar Wu Fengguang Committed by Linus Torvalds

drivers/rapidio/rio-scan.c: make functions static

sparse warnings:

drivers/rapidio/rio-scan.c:1143:5: sparse: symbol 'rio_enum_mport' was not declared. Should it be static?
drivers/rapidio/rio-scan.c:1246:5: sparse: symbol 'rio_disc_mport' was not declared. Should it be static?
Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Cc: "Bounine, Alexandre" <Alexandre.Bounine@idt.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e350cd1d
...@@ -1141,7 +1141,7 @@ static void rio_pw_enable(struct rio_mport *port, int enable) ...@@ -1141,7 +1141,7 @@ static void rio_pw_enable(struct rio_mport *port, int enable)
* link, then start recursive peer enumeration. Returns %0 if * link, then start recursive peer enumeration. Returns %0 if
* enumeration succeeds or %-EBUSY if enumeration fails. * enumeration succeeds or %-EBUSY if enumeration fails.
*/ */
int rio_enum_mport(struct rio_mport *mport, u32 flags) static int rio_enum_mport(struct rio_mport *mport, u32 flags)
{ {
struct rio_net *net = NULL; struct rio_net *net = NULL;
int rc = 0; int rc = 0;
...@@ -1256,7 +1256,7 @@ static void rio_build_route_tables(struct rio_net *net) ...@@ -1256,7 +1256,7 @@ static void rio_build_route_tables(struct rio_net *net)
* peer discovery. Returns %0 if discovery succeeds or %-EBUSY * peer discovery. Returns %0 if discovery succeeds or %-EBUSY
* on failure. * on failure.
*/ */
int rio_disc_mport(struct rio_mport *mport, u32 flags) static int rio_disc_mport(struct rio_mport *mport, u32 flags)
{ {
struct rio_net *net = NULL; struct rio_net *net = NULL;
unsigned long to_end; unsigned long to_end;
......
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