diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2013-04-30 15:28:31 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-30 17:04:08 -0700 |
commit | 97439d0f84942d3031545e80852dde09457136c6 (patch) | |
tree | 1f8a190ea7d4417dd98879be7cdc94bb697fd7bc /drivers/pps | |
parent | 1a0f39997caf3e1edc7e5b7da168b91c32760ccb (diff) | |
download | kernel_goldelico_gta04-97439d0f84942d3031545e80852dde09457136c6.zip kernel_goldelico_gta04-97439d0f84942d3031545e80852dde09457136c6.tar.gz kernel_goldelico_gta04-97439d0f84942d3031545e80852dde09457136c6.tar.bz2 |
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 079e930..e219db1 100644 --- a/drivers/pps/kc.c +++ b/drivers/pps/kc.c @@ -34,10 +34,10 @@ */ /* state variables to bind kernel consumer */ -DEFINE_SPINLOCK(pps_kc_hardpps_lock); +static DEFINE_SPINLOCK(pps_kc_hardpps_lock); /* PPS API (RFC 2783): current source and mode for kernel consumer */ -struct pps_device *pps_kc_hardpps_dev; /* unique pointer to device */ -int pps_kc_hardpps_mode; /* mode bits for kernel consumer */ +static struct pps_device *pps_kc_hardpps_dev; /* unique pointer to device */ +static int pps_kc_hardpps_mode; /* mode bits for kernel consumer */ /* pps_kc_bind - control PPS kernel consumer binding * @pps: the PPS source |