]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: mach-shmobile: convert ag5evm to use the generic MMC GPIO hotplug helper
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 16 Apr 2012 21:09:19 +0000 (23:09 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sat, 12 May 2012 20:13:01 +0000 (22:13 +0200)
commitf74f1476900a5bcbc4bf3bb6f6cd6c3243637223
tree7e0fde54a8c8b97b33381dd67b643bf89246f67a
parente119a5901b4cc9abeaf1e096b811d79a9741fc35
ARM: mach-shmobile: convert ag5evm to use the generic MMC GPIO hotplug helper

This also fixes the following modular mmc build failure:

arch/arm/mach-shmobile/built-in.o: In function `mackerel_sdhi0_gpio_cd':
pfc-sh7372.c:(.text+0x1138): undefined reference to `mmc_detect_change'

on this platform by eliminating the use of an inline function, which
calls into the mmc core.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Reviewed-by: Simon Horman <horms@verge.net.au>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
arch/arm/mach-shmobile/board-ag5evm.c