mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 00:48:50 +00: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>
15 lines
277 B
C
15 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
|