| 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); | 
 | 20 |  | 
 | 21 | #endif |