]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: Make GPMC skip disabled devices
authorGuido Martínez <guido@vanguardiasur.com.ar>
Wed, 2 Jul 2014 13:35:18 +0000 (10:35 -0300)
committerTony Lindgren <tony@atomide.com>
Mon, 7 Jul 2014 11:57:17 +0000 (04:57 -0700)
commitff4603d8a5e77cf857a3fed045311fa130d24d60
tree96c76b13718819dfec753af245e86ff90fbcd564
parentd0fd9bf058af4810a6802444dfcdecc470730817
ARM: OMAP2+: Make GPMC skip disabled devices

Currently, child nodes of the gpmc node are iterated and probed
regardless of their 'status' property. This means adding 'status =
"disabled";' has no effect.

This patch changes the iteration to only probe nodes marked as
available.

Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Tested-by: Pekon Gupta <pekon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/gpmc.c