forked from luck/tmp_suning_uos_patched
faf39ede5e
The patch enables to define MMC host get_ro() method through platform data. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
16 lines
277 B
C
16 lines
277 B
C
#ifndef ASMARM_ARCH_MMC_H
|
|
#define ASMARM_ARCH_MMC_H
|
|
|
|
#include <linux/mmc/host.h>
|
|
|
|
struct device;
|
|
|
|
struct imxmmc_platform_data {
|
|
int (*card_present)(struct device *);
|
|
int (*get_ro)(struct device *);
|
|
};
|
|
|
|
extern void imx_set_mmc_info(struct imxmmc_platform_data *info);
|
|
|
|
#endif
|