aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorPierre Ossman <drzeus@drzeus.cx>2007-09-24 01:15:48 -0400
committerPierre Ossman <drzeus@drzeus.cx>2007-09-24 01:15:48 -0400
commitaf8350c756cb48a738474738f7bf8c0e572fa057 (patch)
treee46fcb2b0eaf158759bfe75fc22fe01dd2556f3a /include/linux/mmc
parent15a0580ced081a0f7dc2deea8a4812bdc5e9a109 (diff)
mmc: add led trigger
Add a led trigger for each host controller that indicates if there is a request active on the controller. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r--include/linux/mmc/host.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index 76eef94782f8..125eee1407ff 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -10,6 +10,8 @@
10#ifndef LINUX_MMC_HOST_H 10#ifndef LINUX_MMC_HOST_H
11#define LINUX_MMC_HOST_H 11#define LINUX_MMC_HOST_H
12 12
13#include <linux/leds.h>
14
13#include <linux/mmc/core.h> 15#include <linux/mmc/core.h>
14 16
15struct mmc_ios { 17struct mmc_ios {
@@ -133,6 +135,10 @@ struct mmc_host {
133 struct task_struct *sdio_irq_thread; 135 struct task_struct *sdio_irq_thread;
134 atomic_t sdio_irq_thread_abort; 136 atomic_t sdio_irq_thread_abort;
135 137
138#ifdef CONFIG_LEDS_TRIGGERS
139 struct led_trigger *led; /* activity led */
140#endif
141
136 unsigned long private[0] ____cacheline_aligned; 142 unsigned long private[0] ____cacheline_aligned;
137}; 143};
138 144