projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afa2c94
)
sh: ecovec24: Remove mmcif .down_pwr() callback
author
Laurent Pinchart
<
[email protected]
>
Thu, 8 Aug 2013 10:38:35 +0000
(12:38 +0200)
committer
Chris Ball
<
[email protected]
>
Sun, 25 Aug 2013 03:45:35 +0000
(23:45 -0400)
The callback isn't used by the mmcif driver, don't initialize it in
board code.
Signed-off-by: Laurent Pinchart <
[email protected]
>
Acked-by: Guennadi Liakhovetski <
[email protected]
>
Signed-off-by: Chris Ball <
[email protected]
>
arch/sh/boards/mach-ecovec24/setup.c
patch
|
blob
|
history
diff --git
a/arch/sh/boards/mach-ecovec24/setup.c
b/arch/sh/boards/mach-ecovec24/setup.c
index a1557ec4833fe6a0b7bf6603eabc4e8ee60f0d50..5af40f5e0ba4dd2dcc5a6650b4a722f1bf88616a 100644
(file)
--- a/
arch/sh/boards/mach-ecovec24/setup.c
+++ b/
arch/sh/boards/mach-ecovec24/setup.c
@@
-980,11
+980,6
@@
static struct platform_device vou_device = {
#if defined(CONFIG_MMC_SH_MMCIF) || defined(CONFIG_MMC_SH_MMCIF_MODULE)
/* SH_MMCIF */
-static void mmcif_down_pwr(struct platform_device *pdev)
-{
- cn12_set_pwr(pdev, 0);
-}
-
static struct resource sh_mmcif_resources[] = {
[0] = {
.name = "SH_MMCIF",
@@
-1006,7
+1001,6
@@
static struct resource sh_mmcif_resources[] = {
static struct sh_mmcif_plat_data sh_mmcif_plat = {
.set_pwr = cn12_set_pwr,
- .down_pwr = mmcif_down_pwr,
.sup_pclk = 0, /* SH7724: Max Pclk/2 */
.caps = MMC_CAP_4_BIT_DATA |
MMC_CAP_8_BIT_DATA |