powerpc/4xx: Fix resource issue in warp-nand.c
authorValentine Barshak <vbarshak@ru.mvista.com>
Thu, 5 Jun 2008 13:36:38 +0000 (23:36 +1000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Wed, 11 Jun 2008 12:06:25 +0000 (08:06 -0400)
commit156cea23acffaa270cf243a3a0f43e1e30682081
tree561ed2594760a0a2fe54c4195c60294cb522d45d
parent887942d7d62499999f7868f194d7f41fd6e88795
powerpc/4xx: Fix resource issue in warp-nand.c

The "ndfc-chip" device doesn't need any resources. All resources
are handled by the "ndfc-nand" device. Registering the same memory
resource twice causes "cat /proc/iomem" to go into an infinite loop
displaying NDFC memory addresses.

Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
Acked-by: Stefan Roese <sr@denx.de>
Acked-by: Sean MacLennan <smaclennan@pikatech.com>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/platforms/44x/warp-nand.c