mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-26 19:36:41 +00:00
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>
This commit is contained in:
parent
887942d7d6
commit
156cea23ac
@ -94,8 +94,7 @@ static struct platform_nand_chip warp_nand_chip0 = {
|
||||
static 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,
|
||||
|
Loading…
Reference in New Issue
Block a user