summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSven Wegener <sven.wegener@stealer.net>2008-11-17 15:33:41 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-01-08 13:38:57 +0100
commit0d73357910f0c2f35220329bd6c476afa558280c (patch)
tree5954e3c652e2970739b95505cb5c03183c81ebea /drivers
parentleds: ALIX.2 LEDs driver (diff)
downloadlinux-0d73357910f0c2f35220329bd6c476afa558280c.tar.xz
linux-0d73357910f0c2f35220329bd6c476afa558280c.zip
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 4064d4f6b33b..f0883e6ebc50 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);