android_kernel_xiaomi_sm8350/include/linux/mfd/sh_mobile_sdhi.h
Magnus Damm be9cd7b6f8 mfd: Add power control platform data to SDHI driver
This patch adds platform data with a function for power
control to the SDHI driver. The idea is that board specific
code can provide their own functions so power can be enabled
and disabled for the sd-cards.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-11-30 12:01:24 +09:00

9 lines
185 B
C

#ifndef __SH_MOBILE_SDHI_H__
#define __SH_MOBILE_SDHI_H__
struct sh_mobile_sdhi_info {
void (*set_pwr)(struct platform_device *pdev, int state);
};
#endif /* __SH_MOBILE_SDHI_H__ */