diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2013-07-03 18:08:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 19:08:04 -0400 |
commit | 36f0efbbe8e21c153dfc2f94c91f89ab06fd64c5 (patch) | |
tree | 2fb5a3bc235855fa1724b052119741bbfeb630d2 /drivers/rapidio/rio-scan.c | |
parent | e350cd1d9308b67363ebb870a678a1fd807df1a6 (diff) |
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: Fengguang Wu <fengguang.wu@intel.com>
Cc: "Bounine, Alexandre" <Alexandre.Bounine@idt.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rapidio/rio-scan.c')
-rw-r--r-- | drivers/rapidio/rio-scan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rapidio/rio-scan.c b/drivers/rapidio/rio-scan.c index 4c15dbf81087..4b9b15ee8596 100644 --- a/drivers/rapidio/rio-scan.c +++ b/drivers/rapidio/rio-scan.c | |||
@@ -1141,7 +1141,7 @@ static void rio_pw_enable(struct rio_mport *port, int enable) | |||
1141 | * link, then start recursive peer enumeration. Returns %0 if | 1141 | * link, then start recursive peer enumeration. Returns %0 if |
1142 | * enumeration succeeds or %-EBUSY if enumeration fails. | 1142 | * enumeration succeeds or %-EBUSY if enumeration fails. |
1143 | */ | 1143 | */ |
1144 | int rio_enum_mport(struct rio_mport *mport, u32 flags) | 1144 | static int rio_enum_mport(struct rio_mport *mport, u32 flags) |
1145 | { | 1145 | { |
1146 | struct rio_net *net = NULL; | 1146 | struct rio_net *net = NULL; |
1147 | int rc = 0; | 1147 | int rc = 0; |
@@ -1256,7 +1256,7 @@ static void rio_build_route_tables(struct rio_net *net) | |||
1256 | * peer discovery. Returns %0 if discovery succeeds or %-EBUSY | 1256 | * peer discovery. Returns %0 if discovery succeeds or %-EBUSY |
1257 | * on failure. | 1257 | * on failure. |
1258 | */ | 1258 | */ |
1259 | int rio_disc_mport(struct rio_mport *mport, u32 flags) | 1259 | static int rio_disc_mport(struct rio_mport *mport, u32 flags) |
1260 | { | 1260 | { |
1261 | struct rio_net *net = NULL; | 1261 | struct rio_net *net = NULL; |
1262 | unsigned long to_end; | 1262 | unsigned long to_end; |