]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: mach-shmobile: convert mackerel to use the generic MMC GPIO hotplug helper
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 16 Apr 2012 21:09:13 +0000 (23:09 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sat, 12 May 2012 20:12:36 +0000 (22:12 +0200)
commite119a5901b4cc9abeaf1e096b811d79a9741fc35
tree126ba111ce5874541b7d17904eb79e508f14f1d3
parentb46dfabc46f2f4b2b4cf8bc5e8c58410ed27a893
ARM: mach-shmobile: convert mackerel 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 `ag5evm_sdhi0_gpio_cd':
pfc-sh73a0.c:(.text+0x7c0): 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>
Tested-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-mackerel.c