Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 107203
b: refs/heads/master
c: 4864841
h: refs/heads/master
i:
  107201: c169d32
  107199: b4cec0e
v: v3
  • Loading branch information
Nobuhiro Iwamatsu authored and Paul Mundt committed Jul 29, 2008
1 parent e78d5aa commit 955adbb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6de9c6481d47c6da5f8b81f75a5c24c69c366f37
refs/heads/master: 4864841a34ad77a5054f20d18453ae38a926afd8
6 changes: 6 additions & 0 deletions trunk/arch/sh/boards/se/770x/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ static struct platform_device heartbeat_device = {
.resource = heartbeat_resources,
};

#if defined(CONFIG_CPU_SUBTYPE_SH7710) ||\
defined(CONFIG_CPU_SUBTYPE_SH7712)
/* SH771X Ethernet driver */
static struct resource sh_eth0_resources[] = {
[0] = {
Expand Down Expand Up @@ -159,12 +161,16 @@ static struct platform_device sh_eth1_device = {
.num_resources = ARRAY_SIZE(sh_eth1_resources),
.resource = sh_eth1_resources,
};
#endif

static struct platform_device *se_devices[] __initdata = {
&heartbeat_device,
&cf_ide_device,
#if defined(CONFIG_CPU_SUBTYPE_SH7710) ||\
defined(CONFIG_CPU_SUBTYPE_SH7712)
&sh_eth0_device,
&sh_eth1_device,
#endif
};

static int __init se_devices_setup(void)
Expand Down

0 comments on commit 955adbb

Please sign in to comment.