mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 11:51:27 +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>
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
|