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 | |
| 4 | #include <linux/mmc/protocol.h> |
| 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 */ |
| 12 | int (*init)(struct device *, irqreturn_t (*)(int, void *, struct pt_regs *), void *); |
Richard Purdie | e619524 | 2005-09-06 15:18:56 -0700 | [diff] [blame^] | 13 | int (*get_ro)(struct device *); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | void (*setpower)(struct device *, unsigned int); |
| 15 | void (*exit)(struct device *, void *); |
| 16 | }; |
| 17 | |
| 18 | extern void pxa_set_mci_info(struct pxamci_platform_data *info); |
| 19 | |
| 20 | #endif |