diff options
author | Magnus Damm <damm@opensource.se> | 2009-11-27 04:31:27 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-11-30 12:01:24 +0900 |
commit | be9cd7b6f84fd0cc59c8770771073b5c66f958ac (patch) | |
tree | 6ecc43a8424b87828131c4ed2a4a45ca812db847 /include | |
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')
-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 00000000000..3bcd7163485 --- /dev/null +++ b/include/linux/mfd/sh_mobile_sdhi.h @@ -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__ */ |