Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef ASMARM_ARCH_MMC_H |
| 2 | #define ASMARM_ARCH_MMC_H |
| 3 | |
Pierre Ossman | f74d132 | 2007-02-09 22:49:31 +0100 | [diff] [blame] | 4 | #include <linux/mmc/host.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | #include <linux/interrupt.h> |
| 6 | |
| 7 | struct device; |
| 8 | struct mmc_host; |
| 9 | |
| 10 | struct pxamci_platform_data { |
| 11 | unsigned int ocr_mask; /* available voltages */ |
Richard Purdie | c26971c | 2005-09-08 22:48:16 +0100 | [diff] [blame] | 12 | unsigned long detect_delay; /* delay in jiffies before detecting cards after interrupt */ |
David Howells | 40220c1 | 2006-10-09 12:19:47 +0100 | [diff] [blame] | 13 | int (*init)(struct device *, irq_handler_t , void *); |
Richard Purdie | e619524 | 2005-09-06 15:18:56 -0700 | [diff] [blame] | 14 | int (*get_ro)(struct device *); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | void (*setpower)(struct device *, unsigned int); |
| 16 | void (*exit)(struct device *, void *); |
| 17 | }; |
| 18 | |
| 19 | extern void pxa_set_mci_info(struct pxamci_platform_data *info); |
Bridge Wu | 8d33b05 | 2007-12-21 19:15:36 +0800 | [diff] [blame] | 20 | extern void pxa3xx_set_mci2_info(struct pxamci_platform_data *info); |
Bridge Wu | 5a1f21b | 2007-12-21 19:27:08 +0800 | [diff] [blame] | 21 | extern void pxa3xx_set_mci3_info(struct pxamci_platform_data *info); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | |
| 23 | #endif |