From: Valentine Barshak Date: Fri, 4 Apr 2008 18:24:37 +0000 (+1100) Subject: [POWERPC] 4xx: Use machine_device_initcall() for warp_nand X-Git-Tag: v2.6.26-rc1~1125^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0c8df6e4525ebd38a7643ba3dbfe3989dddf781;p=pandora-kernel.git [POWERPC] 4xx: Use machine_device_initcall() for warp_nand With a multiplatform kernel, once built we always have warp_setup_nand_flash() called and NDFC probed, no matter what machine we actually run on. This potentially can cause problems (such as kernel crash), since NDFC is probed at a warp-predefined address. Using machine_device_initcall() NAND devices are registered if we run on a warp only. Signed-off-by: Valentine Barshak Signed-off-by: Josh Boyer --- Reading git-diff-tree failed