Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96276
b: refs/heads/master
c: e305ec8
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed May 8, 2008
1 parent 1cb32e2 commit 33c0db5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: a1dc4b59fa4af97ae68ee214d4d72bbd7c7ec1dc
refs/heads/master: e305ec80eae8c1ea117d4a39e58181643d382a52
7 changes: 2 additions & 5 deletions trunk/arch/sh/boards/renesas/rts7751r2d/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ static struct platform_device heartbeat_device = {
.resource = heartbeat_resources,
};

#ifdef CONFIG_MFD_SM501
static struct plat_serial8250_port uart_platform_data[] = {
{
.membase = (void __iomem *)0xb3e30000,
Expand Down Expand Up @@ -208,13 +207,9 @@ static struct platform_device sm501_device = {
.resource = sm501_resources,
};

#endif /* CONFIG_MFD_SM501 */

static struct platform_device *rts7751r2d_devices[] __initdata = {
#ifdef CONFIG_MFD_SM501
&uart_device,
&sm501_device,
#endif
&heartbeat_device,
&spi_sh_sci_device,
};
Expand All @@ -234,7 +229,9 @@ static int __init rts7751r2d_devices_setup(void)
{
if (register_trapped_io(&cf_trapped_io) == 0)
platform_device_register(&cf_ide_device);

spi_register_board_info(spi_bus, ARRAY_SIZE(spi_bus));

return platform_add_devices(rts7751r2d_devices,
ARRAY_SIZE(rts7751r2d_devices));
}
Expand Down

0 comments on commit 33c0db5

Please sign in to comment.