PowerPC 44x: small warp-nand fix
Subsystems (2)
PATCH 1/1 PowerPC 44x: small warp-nand fix
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.
--- arch/powerpc/platforms/44x/warp-nand.c | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-)
arch/powerpc/platforms/44x/warp-nand.c +1 -2
@@ -86,8 +86,7 @@ static struct platform_nand_chip warp_nastatic struct platform_device warp_nand_device = { .name ="ndfc-chip" , .id =0 , - .num_resources =1 , - .resource = &warp_ndfc, + .num_resources =0 , .dev = { .platform_data = &warp_nand_chip0, .parent = &warp_ndfc_device.dev,
Quoted 6 lines · Valentine Barshak
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 <[email protected]>
Best regards,
Stefan
Sean MacLennan
Acked-byQuoted 9 lines · On Thu, 5 Jun 2008 16:28:18 +0200 "Stefan Roese" <[email protected]> wrote:
Quoted 6 lines · Valentine Barshak
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 <[email protected]>Acked-by Stefan Roese <[email protected]>
Cheers,
Sean