OpenCloudOS-Kernel/arch/powerpc/platforms/52xx
Sylvain Munaut 5c334eed6e [POWERPC] 52xx: Don't use device_initcall to probe of_platform_bus
Using device_initcall makes it happen for every platform that
compiles this file in. This is really bad, for obvious reasons.

Instead, we use the .init field of the machine description. If
the platform needs the hook to do something specific it can provides
its own function and call mpc52xx_declare_of_platform_devices from
there. If not, the mpc52xx_declare_of_platform_devices function can
directly be used as the init hook.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-01-09 17:03:02 +11:00
..
Makefile [POWERPC] Add lite5200 board support to arch/powerpc 2006-12-04 20:41:44 +11:00
efika-pci.c [POWERPC] Move Efika support files into platforms/52xx 2006-12-04 20:41:39 +11:00
efika-setup.c [POWERPC] Move Efika support files into platforms/52xx 2006-12-04 20:41:39 +11:00
efika.h [POWERPC] Move Efika support files into platforms/52xx 2006-12-04 20:41:39 +11:00
lite5200.c [POWERPC] 52xx: Don't use device_initcall to probe of_platform_bus 2007-01-09 17:03:02 +11:00
mpc52xx_common.c [POWERPC] 52xx: Don't use device_initcall to probe of_platform_bus 2007-01-09 17:03:02 +11:00
mpc52xx_pic.c [POWERPC] Add common routines for 52xx support in arch/powerpc 2006-12-04 20:41:42 +11:00
mpc52xx_pic.h [POWERPC] Separate IRQ config / register set from main header 2006-12-04 20:41:41 +11:00