Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173348
b: refs/heads/master
c: 5950b55
h: refs/heads/master
v: v3
  • Loading branch information
Sekhar Nori authored and Kevin Hilman committed Nov 25, 2009
1 parent 4c36980 commit a162885
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 733975a314e4ddd374676cd300e207dd44eeafd2
refs/heads/master: 5950b55b0498f268d1ffa6adb63f96a1f350c37e
11 changes: 2 additions & 9 deletions trunk/arch/arm/mach-davinci/board-da830-evm.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,12 +412,6 @@ static struct platform_device da830_evm_nand_device = {
};
#endif

static struct platform_device *da830_evm_devices[] __initdata = {
#ifdef CONFIG_DA830_UI_NAND
&da830_evm_nand_device,
#endif
};

/*
* UI board NAND/NOR flashes only use 8-bit data bus.
*/
Expand Down Expand Up @@ -502,10 +496,9 @@ static __init void da830_evm_init(void)
pr_warning("da830_evm_init: emif25 mux setup failed: %d\n",
ret);

ret = platform_add_devices(da830_evm_devices,
ARRAY_SIZE(da830_evm_devices));
ret = platform_device_register(&da830_evm_nand_device);
if (ret)
pr_warning("da830_evm_init: EVM devices not added\n");
pr_warning("da830_evm_init: NAND device not registered.\n");
#endif
#endif

Expand Down

0 comments on commit a162885

Please sign in to comment.