|
@@ -94,8 +94,7 @@ static struct platform_nand_chip warp_nand_chip0 = {
|
|
static struct platform_device warp_nand_device = {
|
|
static struct platform_device warp_nand_device = {
|
|
.name = "ndfc-chip",
|
|
.name = "ndfc-chip",
|
|
.id = 0,
|
|
.id = 0,
|
|
- .num_resources = 1,
|
|
|
|
- .resource = &warp_ndfc,
|
|
|
|
|
|
+ .num_resources = 0,
|
|
.dev = {
|
|
.dev = {
|
|
.platform_data = &warp_nand_chip0,
|
|
.platform_data = &warp_nand_chip0,
|
|
.parent = &warp_ndfc_device.dev,
|
|
.parent = &warp_ndfc_device.dev,
|