diff options
author | Mike Rapoport <mike.rapoport@gmail.com> | 2015-09-12 11:07:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-14 08:50:47 -0700 |
commit | 01a64c4469acf6556c7e622e8874f84cb95a23bf (patch) | |
tree | c46c2924aa7e7c56822da528d954e4b69b1bfbb1 /drivers/staging/sm750fb/ddk750_swi2c.c | |
parent | d33b42048ed97dfacc031707e3aefa63da631237 (diff) | |
download | linux-01a64c4469acf6556c7e622e8874f84cb95a23bf.tar.bz2 |
staging: sm750fb: ddk750_swi2c: staticize swI2C{SCL,SDA}
swI2C{SCL,SDA} are not used outside ddk750_swi2c, make them static
Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb/ddk750_swi2c.c')
-rw-r--r-- | drivers/staging/sm750fb/ddk750_swi2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/sm750fb/ddk750_swi2c.c b/drivers/staging/sm750fb/ddk750_swi2c.c index e3f60ebe7d09..6a10ae3c142a 100644 --- a/drivers/staging/sm750fb/ddk750_swi2c.c +++ b/drivers/staging/sm750fb/ddk750_swi2c.c @@ -119,7 +119,7 @@ static void swI2CWait(void) * signal because the i2c will fail when other device try to drive the * signal due to SM50x will drive the signal to always high. */ -void swI2CSCL(unsigned char value) +static void swI2CSCL(unsigned char value) { unsigned long ulGPIOData; unsigned long ulGPIODirection; @@ -153,7 +153,7 @@ void swI2CSCL(unsigned char value) * signal because the i2c will fail when other device try to drive the * signal due to SM50x will drive the signal to always high. */ -void swI2CSDA(unsigned char value) +static void swI2CSDA(unsigned char value) { unsigned long ulGPIOData; unsigned long ulGPIODirection; |