Skip to contentSkip to conversation

leds: led-pca955x.c make pca955x_led_set static

PATCH Applied Harvey Harrison 1 participant 1 message Jul 17, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/3 leds: led-pca955x.c make pca955x_led_set static

leds-pca955x.c:229:6: warning: symbol 'pca955x_led_set' was not declared. Should it be static?

---
Appeared between next-20080716 and next-20080717

 drivers/leds/leds-pca955x.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/leds/leds-pca955x.c +1 -1
index 146c069..3dbc880 100644
@@ -226,7 +226,7 @@ static void pca955x_led_work(struct work_struct *work)
 	pca955x_write_ls(pca955x->client, chip_ls, ls);
 }
 
-void pca955x_led_set(struct led_classdev *led_cdev, enum led_brightness value)
+static void pca955x_led_set(struct led_classdev *led_cdev, enum led_brightness value)
 {
 	struct pca955x_led *pca955x;
 
Signature · 1 line
1.5.6.3.536.g61aad