aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/wbsd.h
diff options
context:
space:
mode:
authorPierre Ossman <drzeus@drzeus.cx>2005-09-12 07:09:25 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-09-12 07:09:25 -0400
commitfecf92ba050a426b3bd302b6ba1c1525d576ccb9 (patch)
treeb609d0a7625f36061bc982643c1f8d30be93cee7 /drivers/mmc/wbsd.h
parent357d596bd552ad157a906289ab13ea6ba7e66e3d (diff)
[MMC] Remove trailing whitespace in wbsd
Clean out trailing whitespace caused by not-so-great editor since it generates a lot of problems with editors configured to automatically strip whitespace. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mmc/wbsd.h')
-rw-r--r--drivers/mmc/wbsd.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/mmc/wbsd.h b/drivers/mmc/wbsd.h
index 9005b5241b3..833a621cc01 100644
--- a/drivers/mmc/wbsd.h
+++ b/drivers/mmc/wbsd.h
@@ -139,51 +139,51 @@
139struct wbsd_host 139struct wbsd_host
140{ 140{
141 struct mmc_host* mmc; /* MMC structure */ 141 struct mmc_host* mmc; /* MMC structure */
142 142
143 spinlock_t lock; /* Mutex */ 143 spinlock_t lock; /* Mutex */
144 144
145 int flags; /* Driver states */ 145 int flags; /* Driver states */
146 146
147#define WBSD_FCARD_PRESENT (1<<0) /* Card is present */ 147#define WBSD_FCARD_PRESENT (1<<0) /* Card is present */
148#define WBSD_FIGNORE_DETECT (1<<1) /* Ignore card detection */ 148#define WBSD_FIGNORE_DETECT (1<<1) /* Ignore card detection */
149 149
150 struct mmc_request* mrq; /* Current request */ 150 struct mmc_request* mrq; /* Current request */
151 151
152 u8 isr; /* Accumulated ISR */ 152 u8 isr; /* Accumulated ISR */
153 153
154 struct scatterlist* cur_sg; /* Current SG entry */ 154 struct scatterlist* cur_sg; /* Current SG entry */
155 unsigned int num_sg; /* Number of entries left */ 155 unsigned int num_sg; /* Number of entries left */
156 void* mapped_sg; /* vaddr of mapped sg */ 156 void* mapped_sg; /* vaddr of mapped sg */
157 157
158 unsigned int offset; /* Offset into current entry */ 158 unsigned int offset; /* Offset into current entry */
159 unsigned int remain; /* Data left in curren entry */ 159 unsigned int remain; /* Data left in curren entry */
160 160
161 int size; /* Total size of transfer */ 161 int size; /* Total size of transfer */
162 162
163 char* dma_buffer; /* ISA DMA buffer */ 163 char* dma_buffer; /* ISA DMA buffer */
164 dma_addr_t dma_addr; /* Physical address for same */ 164 dma_addr_t dma_addr; /* Physical address for same */
165 165
166 int firsterr; /* See fifo functions */ 166 int firsterr; /* See fifo functions */
167 167
168 u8 clk; /* Current clock speed */ 168 u8 clk; /* Current clock speed */
169 unsigned char bus_width; /* Current bus width */ 169 unsigned char bus_width; /* Current bus width */
170 170
171 int config; /* Config port */ 171 int config; /* Config port */
172 u8 unlock_code; /* Code to unlock config */ 172 u8 unlock_code; /* Code to unlock config */
173 173
174 int chip_id; /* ID of controller */ 174 int chip_id; /* ID of controller */
175 175
176 int base; /* I/O port base */ 176 int base; /* I/O port base */
177 int irq; /* Interrupt */ 177 int irq; /* Interrupt */
178 int dma; /* DMA channel */ 178 int dma; /* DMA channel */
179 179
180 struct tasklet_struct card_tasklet; /* Tasklet structures */ 180 struct tasklet_struct card_tasklet; /* Tasklet structures */
181 struct tasklet_struct fifo_tasklet; 181 struct tasklet_struct fifo_tasklet;
182 struct tasklet_struct crc_tasklet; 182 struct tasklet_struct crc_tasklet;
183 struct tasklet_struct timeout_tasklet; 183 struct tasklet_struct timeout_tasklet;
184 struct tasklet_struct finish_tasklet; 184 struct tasklet_struct finish_tasklet;
185 struct tasklet_struct block_tasklet; 185 struct tasklet_struct block_tasklet;
186 186
187 struct timer_list detect_timer; /* Card detection timer */ 187 struct timer_list detect_timer; /* Card detection timer */
188 struct timer_list ignore_timer; /* Ignore detection timer */ 188 struct timer_list ignore_timer; /* Ignore detection timer */
189}; 189};