[PATCH] PowerPC 44x: use machine_device_initcall() instead ofdevice_initcall() for warp_nand

Sean MacLennan smaclennan at pikatech.com
Tue Apr 8 14:21:03 EST 2008


On Fri, 4 Apr 2008 22:24:37 +0400
"Valentine Barshak" <vbarshak at ru.mvista.com> wrote:

> 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.

Thanks for catching that. I have gotten *way* behind on my email and am
only reading this now.

Cheers,
  Sean



More information about the Linuxppc-dev mailing list