* [PATCH 2/3] leds: led-pca955x.c make pca955x_led_set static
@ 2008-07-17 21:22 Harvey Harrison
0 siblings, 0 replies; only message in thread
From: Harvey Harrison @ 2008-07-17 21:22 UTC (permalink / raw)
To: Richard Purdie; +Cc: linux-next
leds-pca955x.c:229:6: warning: symbol 'pca955x_led_set' was not declared. Should it be static?
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
Appeared between next-20080716 and next-20080717
drivers/leds/leds-pca955x.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/leds/leds-pca955x.c b/drivers/leds/leds-pca955x.c
index 146c069..3dbc880 100644
--- a/drivers/leds/leds-pca955x.c
+++ b/drivers/leds/leds-pca955x.c
@@ -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;
--
1.5.6.3.536.g61aad
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-17 21:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-17 21:22 [PATCH 2/3] leds: led-pca955x.c make pca955x_led_set static Harvey Harrison
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).