mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 14:14:01 +08:00
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
|