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>
This commit is contained in:
Magnus Damm
2009-11-27 04:31:27 +00:00
committed by Paul Mundt
parent c60f55fa1f
commit be9cd7b6f8
2 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
#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__ */