Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131512
b: refs/heads/master
c: 5dbace0
h: refs/heads/master
v: v3
  • Loading branch information
Helmut Schaa authored and Pierre Ossman committed Feb 18, 2009
1 parent f082d09 commit 7d61c2c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 58a5dd3e0e77029d3db1f8fa75d0b54b38169d5d
refs/heads/master: 5dbace0c9ba110c1a3810a89fa6bf12b7574b5a3
4 changes: 3 additions & 1 deletion trunk/drivers/mmc/host/sdhci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1722,7 +1722,9 @@ int sdhci_add_host(struct sdhci_host *host)
#endif

#ifdef SDHCI_USE_LEDS_CLASS
host->led.name = mmc_hostname(mmc);
snprintf(host->led_name, sizeof(host->led_name),
"%s::", mmc_hostname(mmc));
host->led.name = host->led_name;
host->led.brightness = LED_OFF;
host->led.default_trigger = mmc_hostname(mmc);
host->led.brightness_set = sdhci_led_control;
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/mmc/host/sdhci.h
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ struct sdhci_host {

#if defined(CONFIG_LEDS_CLASS) || defined(CONFIG_LEDS_CLASS_MODULE)
struct led_classdev led; /* LED control */
char led_name[32];
#endif

spinlock_t lock; /* Mutex */
Expand Down

0 comments on commit 7d61c2c

Please sign in to comment.