aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/sh_mobile_sdhi.h19
-rw-r--r--include/linux/mmc/sh_mobile_sdhi.h16
2 files changed, 21 insertions, 14 deletions
diff --git a/include/linux/mfd/sh_mobile_sdhi.h b/include/linux/mfd/sh_mobile_sdhi.h
index c981b959760f..10af7f901ebe 100644
--- a/include/linux/mfd/sh_mobile_sdhi.h
+++ b/include/linux/mfd/sh_mobile_sdhi.h
@@ -1,16 +1,7 @@
1#ifndef __SH_MOBILE_SDHI_H__ 1#ifndef MFD_SH_MOBILE_SDHI_H
2#define __SH_MOBILE_SDHI_H__ 2#define MFD_SH_MOBILE_SDHI_H
3 3
4#include <linux/types.h> 4/* Compatibility header - will disappear once all platforms are converted */
5#include <linux/mmc/sh_mobile_sdhi.h>
5 6
6struct sh_mobile_sdhi_info { 7#endif /* MFD_SH_MOBILE_SDHI_H */
7 int dma_slave_tx;
8 int dma_slave_rx;
9 unsigned long tmio_flags;
10 unsigned long tmio_caps;
11 u32 tmio_ocr_mask; /* available MMC voltages */
12 void (*set_pwr)(struct platform_device *pdev, int state);
13 int (*get_cd)(struct platform_device *pdev);
14};
15
16#endif /* __SH_MOBILE_SDHI_H__ */
diff --git a/include/linux/mmc/sh_mobile_sdhi.h b/include/linux/mmc/sh_mobile_sdhi.h
new file mode 100644
index 000000000000..c981b959760f
--- /dev/null
+++ b/include/linux/mmc/sh_mobile_sdhi.h
@@ -0,0 +1,16 @@
1#ifndef __SH_MOBILE_SDHI_H__
2#define __SH_MOBILE_SDHI_H__
3
4#include <linux/types.h>
5
6struct sh_mobile_sdhi_info {
7 int dma_slave_tx;
8 int dma_slave_rx;
9 unsigned long tmio_flags;
10 unsigned long tmio_caps;
11 u32 tmio_ocr_mask; /* available MMC voltages */
12 void (*set_pwr)(struct platform_device *pdev, int state);
13 int (*get_cd)(struct platform_device *pdev);
14};
15
16#endif /* __SH_MOBILE_SDHI_H__ */