diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-08-08 06:38:35 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-08-24 23:45:35 -0400 |
commit | d3e9a8d00f62ff80fe9d97d4087d77bdabc37959 (patch) | |
tree | 1e14159b12ffb43b90f81edc8701275a4d435bd8 /arch/sh/boards | |
parent | afa2c9407f8908e2269b243773cbb0997c553804 (diff) |
sh: ecovec24: Remove mmcif .down_pwr() callback
The callback isn't used by the mmcif driver, don't initialize it in
board code.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'arch/sh/boards')
-rw-r--r-- | arch/sh/boards/mach-ecovec24/setup.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index a1557ec4833f..5af40f5e0ba4 100644 --- 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 = { | |||
980 | 980 | ||
981 | #if defined(CONFIG_MMC_SH_MMCIF) || defined(CONFIG_MMC_SH_MMCIF_MODULE) | 981 | #if defined(CONFIG_MMC_SH_MMCIF) || defined(CONFIG_MMC_SH_MMCIF_MODULE) |
982 | /* SH_MMCIF */ | 982 | /* SH_MMCIF */ |
983 | static void mmcif_down_pwr(struct platform_device *pdev) | ||
984 | { | ||
985 | cn12_set_pwr(pdev, 0); | ||
986 | } | ||
987 | |||
988 | static struct resource sh_mmcif_resources[] = { | 983 | static struct resource sh_mmcif_resources[] = { |
989 | [0] = { | 984 | [0] = { |
990 | .name = "SH_MMCIF", | 985 | .name = "SH_MMCIF", |
@@ -1006,7 +1001,6 @@ static struct resource sh_mmcif_resources[] = { | |||
1006 | 1001 | ||
1007 | static struct sh_mmcif_plat_data sh_mmcif_plat = { | 1002 | static struct sh_mmcif_plat_data sh_mmcif_plat = { |
1008 | .set_pwr = cn12_set_pwr, | 1003 | .set_pwr = cn12_set_pwr, |
1009 | .down_pwr = mmcif_down_pwr, | ||
1010 | .sup_pclk = 0, /* SH7724: Max Pclk/2 */ | 1004 | .sup_pclk = 0, /* SH7724: Max Pclk/2 */ |
1011 | .caps = MMC_CAP_4_BIT_DATA | | 1005 | .caps = MMC_CAP_4_BIT_DATA | |
1012 | MMC_CAP_8_BIT_DATA | | 1006 | MMC_CAP_8_BIT_DATA | |