]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] PS3: Split device setup for static vs. dynamic devices
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Fri, 28 Mar 2008 16:53:38 +0000 (03:53 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 1 Apr 2008 09:43:09 +0000 (20:43 +1100)
commitb163a256dac8ceb01d40bebe25c315768cf1877b
treeba5744b9f0f7e60429d646daf9a3010752f25e01
parentfa90f70a8ed338d1afb43da21163752c6558a7d5
[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 <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/ps3/device-init.c