summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSven Wegener <sven.wegener@stealer.net>2008-11-17 14:33:41 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-01-08 12:38:57 +0000
commit0d73357910f0c2f35220329bd6c476afa558280c (patch)
tree5954e3c652e2970739b95505cb5c03183c81ebea /drivers
parentec9a943ce9f6d6a8ea09587b49d29a020c418c76 (diff)
leds: eds-pca9532: mark pca9532_event() static
Signed-off-by: Sven Wegener <sven.wegener@stealer.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/leds/leds-pca9532.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/leds/leds-pca9532.c b/drivers/leds/leds-pca9532.c
index 4064d4f6b33..f0883e6ebc5 100644
--- a/drivers/leds/leds-pca9532.c
+++ b/drivers/leds/leds-pca9532.c
@@ -151,8 +151,8 @@ static int pca9532_set_blink(struct led_classdev *led_cdev,
return pca9532_setpwm(client, 0, psc, led_cdev->brightness);
}
-int pca9532_event(struct input_dev *dev, unsigned int type, unsigned int code,
- int value)
+static int pca9532_event(struct input_dev *dev, unsigned int type,
+ unsigned int code, int value)
{
struct pca9532_data *data = input_get_drvdata(dev);