From: Geert Uytterhoeven Date: Fri, 28 Mar 2008 16:53:38 +0000 (+1100) Subject: [POWERPC] PS3: Split device setup for static vs. dynamic devices X-Git-Tag: v2.6.26-rc1~1125^2~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b163a256dac8ceb01d40bebe25c315768cf1877b;p=pandora-kernel.git [POWERPC] PS3: Split device setup for static vs. dynamic devices Split the device setup code in ps3_register_repository_device() in two routines: 1. ps3_setup_static_device(), to handle the setup of static devices in the PS3 repository, which can be __init, 2. ps3_setup_dynamic_device(), to handle the setup of storage devices that may appear later in the PS3 repository. This fixes a few section mismatch warnings. Signed-off-by: Geert Uytterhoeven Signed-off-by: Geoff Levand Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed