diff options
author | Magnus Damm <damm@opensource.se> | 2009-11-26 23:31:27 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-11-29 22:01:24 -0500 |
commit | be9cd7b6f84fd0cc59c8770771073b5c66f958ac (patch) | |
tree | 6ecc43a8424b87828131c4ed2a4a45ca812db847 /include/linux/mfd/sh_mobile_sdhi.h | |
parent | c60f55fa1f82984bbb168c7721db893451f9de6c (diff) |
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>
Diffstat (limited to 'include/linux/mfd/sh_mobile_sdhi.h')
-rw-r--r-- | include/linux/mfd/sh_mobile_sdhi.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/mfd/sh_mobile_sdhi.h b/include/linux/mfd/sh_mobile_sdhi.h new file mode 100644 index 000000000000..3bcd7163485c --- /dev/null +++ b/include/linux/mfd/sh_mobile_sdhi.h | |||
@@ -0,0 +1,8 @@ | |||
1 | #ifndef __SH_MOBILE_SDHI_H__ | ||
2 | #define __SH_MOBILE_SDHI_H__ | ||
3 | |||
4 | struct sh_mobile_sdhi_info { | ||
5 | void (*set_pwr)(struct platform_device *pdev, int state); | ||
6 | }; | ||
7 | |||
8 | #endif /* __SH_MOBILE_SDHI_H__ */ | ||