diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-21 20:23:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-21 20:23:30 -0400 |
commit | 135cedad7457be6a96d5e151dfd48f7888a75e94 (patch) | |
tree | d2ea838ef41ab7dcb85e655b0e6b6ed585c11fe8 /drivers/mmc/host/sdhci.h | |
parent | 8a3227268877b81096d7b7a841aaf51099ad2068 (diff) | |
parent | e70aa3fac1ac50c7a75ac676a1489dd1ea3b4be5 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc: (26 commits)
mmc: sdio_ops.c should #include "sdio_ops.h"
mmc: proper prototypes for mmc_attach_*()
mmc: make __mmc_release_bus() static
sdhci: improve no card, no reset quirk
MMC: OMAP: Do not busy wait for end of command for ever
MMC: OMAP: Start new commands from work queue instead of irq
MMC: OMAP: Lazy clock shutdown
MMC: OMAP: Move failing command abortion to workqueue
MMC: OMAP: Use tasklet instead of workqueue for cover switch notification
MMC: OMAP: Check the get_cover_state function pointer if not set
MMC: OMAP: Using setup_timer instead of init_timer
MMC: OMAP: Abort stuck commands
MMC: OMAP: General cleanup for MMC multislot support
MMC: OMAP: Power functions modified to MMC multislot support
MMC: OMAP: Fix timeout calculation for MMC multislot support
MMC: OMAP: New release dma and abort xfer functions
MMC: OMAP: Add back cover switch support
MMC: OMAP: Introduce new multislot structure and change driver to use it
MMC: OMAP: Remove cover switch handling to allow adding multislot support
MMC: OMAP: Fix the BYTEBLOCK capability removal
...
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r-- | drivers/mmc/host/sdhci.h | 9 |
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 | }; |