summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/mach/mmc.h
blob: 36c860347b6611f80075ff403570f1883767d8e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 *  arch/arm/include/asm/mach/mmc.h
 */
#ifndef ASMARM_MACH_MMC_H
#define ASMARM_MACH_MMC_H

#include <linux/mmc/host.h>

#ifdef CONFIG_MMC_EMBEDDED_SDIO
#include <linux/mmc/card.h>
#include <linux/mmc/sdio_func.h>

struct embedded_sdio_data {
    struct sdio_cis cis;
    struct sdio_cccr cccr;
    struct sdio_embedded_func *funcs;
    int num_funcs;
    unsigned int quirks;
};
#endif

struct mmc_platform_data {
	unsigned int ocr_mask;			/* available voltages */
	u32 (*translate_vdd)(struct device *, unsigned int);
	unsigned int (*status)(struct device *);
};

#endif