mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Cc: Rodolfo Giometti <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
1a0f39997c
commit
97439d0f84
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue