mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 00:52:01 +00:00
5a1f21b1e5
This patch is to add the third mmc controller support _only_ for pxa310. On zylonite, the third controller support one slot. Signed-off-by: Bridge Wu <bridge.wu@marvell.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
24 lines
710 B
C
24 lines
710 B
C
#ifndef ASMARM_ARCH_MMC_H
|
|
#define ASMARM_ARCH_MMC_H
|
|
|
|
#include <linux/mmc/host.h>
|
|
#include <linux/interrupt.h>
|
|
|
|
struct device;
|
|
struct mmc_host;
|
|
|
|
struct pxamci_platform_data {
|
|
unsigned int ocr_mask; /* available voltages */
|
|
unsigned long detect_delay; /* delay in jiffies before detecting cards after interrupt */
|
|
int (*init)(struct device *, irq_handler_t , void *);
|
|
int (*get_ro)(struct device *);
|
|
void (*setpower)(struct device *, unsigned int);
|
|
void (*exit)(struct device *, void *);
|
|
};
|
|
|
|
extern void pxa_set_mci_info(struct pxamci_platform_data *info);
|
|
extern void pxa3xx_set_mci2_info(struct pxamci_platform_data *info);
|
|
extern void pxa3xx_set_mci3_info(struct pxamci_platform_data *info);
|
|
|
|
#endif
|