aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r--drivers/mmc/host/sdhci.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h
index d5a38f1b755a..7fb02e177a3d 100644
--- a/drivers/mmc/host/sdhci.h
+++ b/drivers/mmc/host/sdhci.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * linux/drivers/mmc/host/sdhci.h - Secure Digital Host Controller Interface driver 2 * linux/drivers/mmc/host/sdhci.h - Secure Digital Host Controller Interface driver
3 * 3 *
4 * Copyright (C) 2005-2007 Pierre Ossman, All Rights Reserved. 4 * Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify 6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by 7 * it under the terms of the GNU General Public License as published by
@@ -168,6 +168,10 @@ struct sdhci_host {
168 struct sdhci_chip *chip; 168 struct sdhci_chip *chip;
169 struct mmc_host *mmc; /* MMC structure */ 169 struct mmc_host *mmc; /* MMC structure */
170 170
171#ifdef CONFIG_LEDS_CLASS
172 struct led_classdev led; /* LED control */
173#endif
174
171 spinlock_t lock; /* Mutex */ 175 spinlock_t lock; /* Mutex */
172 176
173 int flags; /* Host attributes */ 177 int flags; /* Host attributes */
@@ -190,8 +194,6 @@ struct sdhci_host {
190 int offset; /* Offset into current sg */ 194 int offset; /* Offset into current sg */
191 int remain; /* Bytes left in current */ 195 int remain; /* Bytes left in current */
192 196
193 char slot_descr[20]; /* Name for reservations */
194
195 int irq; /* Device IRQ */ 197 int irq; /* Device IRQ */
196 int bar; /* PCI BAR index */ 198 int bar; /* PCI BAR index */
197 unsigned long addr; /* Bus address */ 199 unsigned long addr; /* Bus address */
@@ -208,7 +210,6 @@ struct sdhci_chip {
208 210
209 unsigned long quirks; 211 unsigned long quirks;
210 212
211 int index; /* Index for chip0, chip1 ...*/
212 int num_slots; /* Slots on controller */ 213 int num_slots; /* Slots on controller */
213 struct sdhci_host *hosts[0]; /* Pointers to hosts */ 214 struct sdhci_host *hosts[0]; /* Pointers to hosts */
214}; 215};