diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2013-04-30 18:28:31 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-30 20:04:08 -0400 |
commit | 97439d0f84942d3031545e80852dde09457136c6 (patch) | |
tree | 1f8a190ea7d4417dd98879be7cdc94bb697fd7bc /drivers/pps | |
parent | 1a0f39997caf3e1edc7e5b7da168b91c32760ccb (diff) |
pps: pps_kc_hardpps_lock can be static
drivers/pps/kc.c:37:1: sparse: symbol 'pps_kc_hardpps_lock' was not declared. Should it be static?
drivers/pps/kc.c:39:19: sparse: symbol 'pps_kc_hardpps_dev' was not declared. Should it be static?
drivers/pps/kc.c:40:5: sparse: symbol 'pps_kc_hardpps_mode' was not declared. Should it be static?
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Rodolfo Giometti <giometti@enneenne.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pps')
-rw-r--r-- | drivers/pps/kc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pps/kc.c b/drivers/pps/kc.c index 079e930b1938..e219db1f1c84 100644 --- a/drivers/pps/kc.c +++ b/drivers/pps/kc.c | |||
@@ -34,10 +34,10 @@ | |||
34 | */ | 34 | */ |
35 | 35 | ||
36 | /* state variables to bind kernel consumer */ | 36 | /* state variables to bind kernel consumer */ |
37 | DEFINE_SPINLOCK(pps_kc_hardpps_lock); | 37 | static DEFINE_SPINLOCK(pps_kc_hardpps_lock); |
38 | /* PPS API (RFC 2783): current source and mode for kernel consumer */ | 38 | /* PPS API (RFC 2783): current source and mode for kernel consumer */ |
39 | struct pps_device *pps_kc_hardpps_dev; /* unique pointer to device */ | 39 | static struct pps_device *pps_kc_hardpps_dev; /* unique pointer to device */ |
40 | int pps_kc_hardpps_mode; /* mode bits for kernel consumer */ | 40 | static int pps_kc_hardpps_mode; /* mode bits for kernel consumer */ |
41 | 41 | ||
42 | /* pps_kc_bind - control PPS kernel consumer binding | 42 | /* pps_kc_bind - control PPS kernel consumer binding |
43 | * @pps: the PPS source | 43 | * @pps: the PPS source |