X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fpps%2Fkc.c;h=e219db1f1c84dd63af594b301c8eb0a94359d779;hb=f8ce1faf55955de62e0a12e330c6d9a526071f65;hp=079e930b193897aa6e6edfee703dd3a95210e33f;hpb=429a01a70f301baf0c8fc780f891a18c296d5e24;p=karo-tx-linux.git 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 @@ */ /* 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