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:
8
include/linux/mfd/sh_mobile_sdhi.h
Normal file
8
include/linux/mfd/sh_mobile_sdhi.h
Normal 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__ */
|
Reference in New Issue
Block a user