blob: ef4f570381d179f164440844cd6f3077a082153e [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef ASMARM_ARCH_MMC_H
2#define ASMARM_ARCH_MMC_H
3
Pierre Ossmanf74d1322007-02-09 22:49:31 +01004#include <linux/mmc/host.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07005#include <linux/interrupt.h>
6
7struct device;
8struct mmc_host;
9
10struct pxamci_platform_data {
11 unsigned int ocr_mask; /* available voltages */
Richard Purdiec26971c2005-09-08 22:48:16 +010012 unsigned long detect_delay; /* delay in jiffies before detecting cards after interrupt */
David Howells40220c12006-10-09 12:19:47 +010013 int (*init)(struct device *, irq_handler_t , void *);
Richard Purdiee6195242005-09-06 15:18:56 -070014 int (*get_ro)(struct device *);
Linus Torvalds1da177e2005-04-16 15:20:36 -070015 void (*setpower)(struct device *, unsigned int);
16 void (*exit)(struct device *, void *);
17};
18
19extern void pxa_set_mci_info(struct pxamci_platform_data *info);
20
21#endif