OSDN Git Service

staging: kpc2000: kpc_i2c: add static qual to local symbols in kpc_i2c.c
authorGeordan Neukum <gneukum1@gmail.com>
Wed, 22 May 2019 12:14:02 +0000 (12:14 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 May 2019 12:47:16 +0000 (14:47 +0200)
commit43ad38191816a6b77cc4bd8222353320a71a1d2d
tree13ead3a49afaba93baed8429cc7d273926eadfac
parent7bd49a49b0a7f3bf845869afb126e40788eab832
staging: kpc2000: kpc_i2c: add static qual to local symbols in kpc_i2c.c

kpc_i2c.c declares:
  - two functions
    - pi2c_probe()
    - pi2c_remove()
  - one struct
    - i2c_plat_driver_i
which are local to the file, yet missing the static qualifier. Add the
static qualifier to these symbols.

Signed-off-by: Geordan Neukum <gneukum1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/kpc2000/kpc2000_i2c.c