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)
commit173e2fec4d9e950ee5e4bba272091e248a961c98
tree7e0fde54a8c8b97b33381dd67b643bf89246f67a
parent2b3e38c4fbeb88092390f7c29b4934212abe9ded
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