diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-08-19 03:20:51 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-19 20:08:16 -0400 |
commit | 67e51ec4ed09482b53a81fb33df81a2d5a15aa2f (patch) | |
tree | 62c245aa9a55faf9d8f320900faa380c01a47cd5 /drivers/uwb | |
parent | 3b716caf190ccc6f2a09387210e0e6a26c1d81a4 (diff) |
uwb: Staticize local symbols
These local symbols are used only in this file.
Fix the following sparse warnings:
drivers/uwb/drp-ie.c:30:5: warning: symbol 'uwb_rsv_reason_code' was not declared. Should it be static?
drivers/uwb/drp-ie.c:58:5: warning: symbol 'uwb_rsv_companion_reason_code' was not declared. Should it be static?
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uwb')
-rw-r--r-- | drivers/uwb/drp-ie.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/uwb/drp-ie.c b/drivers/uwb/drp-ie.c index 520673109a7e..b7d4f6b75eef 100644 --- a/drivers/uwb/drp-ie.c +++ b/drivers/uwb/drp-ie.c | |||
@@ -27,7 +27,7 @@ | |||
27 | /* | 27 | /* |
28 | * Return the reason code for a reservations's DRP IE. | 28 | * Return the reason code for a reservations's DRP IE. |
29 | */ | 29 | */ |
30 | int uwb_rsv_reason_code(struct uwb_rsv *rsv) | 30 | static int uwb_rsv_reason_code(struct uwb_rsv *rsv) |
31 | { | 31 | { |
32 | static const int reason_codes[] = { | 32 | static const int reason_codes[] = { |
33 | [UWB_RSV_STATE_O_INITIATED] = UWB_DRP_REASON_ACCEPTED, | 33 | [UWB_RSV_STATE_O_INITIATED] = UWB_DRP_REASON_ACCEPTED, |
@@ -55,7 +55,7 @@ int uwb_rsv_reason_code(struct uwb_rsv *rsv) | |||
55 | /* | 55 | /* |
56 | * Return the reason code for a reservations's companion DRP IE . | 56 | * Return the reason code for a reservations's companion DRP IE . |
57 | */ | 57 | */ |
58 | int uwb_rsv_companion_reason_code(struct uwb_rsv *rsv) | 58 | static int uwb_rsv_companion_reason_code(struct uwb_rsv *rsv) |
59 | { | 59 | { |
60 | static const int companion_reason_codes[] = { | 60 | static const int companion_reason_codes[] = { |
61 | [UWB_RSV_STATE_O_MOVE_EXPANDING] = UWB_DRP_REASON_ACCEPTED, | 61 | [UWB_RSV_STATE_O_MOVE_EXPANDING] = UWB_DRP_REASON_ACCEPTED, |