aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sk98lin/ski2c.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-01-09 18:34:08 -0800
committerJeff Garzik <jgarzik@pobox.com>2006-01-17 07:45:52 -0500
commite03d72b99e4027504ada134bf1804d6ea792b206 (patch)
treea4c75707712af88ad0ac824e5a40b63488fa7530 /drivers/net/sk98lin/ski2c.c
parentLinux v2.6.16-rc1 (diff)
downloadlinux-dev-e03d72b99e4027504ada134bf1804d6ea792b206.tar.xz
linux-dev-e03d72b99e4027504ada134bf1804d6ea792b206.zip
[PATCH] drivers/net/sk98lin/: possible cleanups
This patch contains the following possible cleanups: - make needlessly global functions static - remove unused code Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Stephen Hemminger <shemminger@osdl.org> Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/sk98lin/ski2c.c')
-rw-r--r--drivers/net/sk98lin/ski2c.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/sk98lin/ski2c.c b/drivers/net/sk98lin/ski2c.c
index 075a0464e56b..79bf57cb5326 100644
--- a/drivers/net/sk98lin/ski2c.c
+++ b/drivers/net/sk98lin/ski2c.c
@@ -396,7 +396,7 @@ int Rw) /* Read / Write Flag */
* 1: error, transfer does not complete, I2C transfer
* killed, wait loop terminated.
*/
-int SkI2cWait(
+static int SkI2cWait(
SK_AC *pAC, /* Adapter Context */
SK_IOC IoC, /* I/O Context */
int Event) /* complete event to wait for (I2C_READ or I2C_WRITE) */
@@ -481,7 +481,7 @@ SK_IOC IoC) /* I/O Context */
* returns 0: success
* 1: error
*/
-int SkI2cWrite(
+static int SkI2cWrite(
SK_AC *pAC, /* Adapter Context */
SK_IOC IoC, /* I/O Context */
SK_U32 I2cData, /* I2C Data to write */
@@ -538,7 +538,7 @@ int I2cBurst) /* I2C Burst Flag */
* 1 if the read is completed
* 0 if the read must be continued (I2C Bus still allocated)
*/
-int SkI2cReadSensor(
+static int SkI2cReadSensor(
SK_AC *pAC, /* Adapter Context */
SK_IOC IoC, /* I/O Context */
SK_SENSOR *pSen) /* Sensor to be read */