Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96281
b: refs/heads/master
c: 57b84f2
h: refs/heads/master
i:
  96279: 59c1c82
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed May 8, 2008
1 parent 75caba3 commit 32f3311
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: 8a3ee0fc8fe3a7ad89997619ceed555288cf8366
refs/heads/master: 57b84f2b674228e61d7e7b05493aa819244a7b56
6 changes: 6 additions & 0 deletions trunk/arch/sh/boards/se/7722/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <linux/platform_device.h>
#include <linux/ata_platform.h>
#include <linux/input.h>
#include <linux/smc91x.h>
#include <asm/machvec.h>
#include <asm/se7722.h>
#include <asm/io.h>
Expand Down Expand Up @@ -44,6 +45,10 @@ static struct platform_device heartbeat_device = {
};

/* SMC91x */
static struct smc91x_platdata smc91x_info = {
.flags = SMC91X_USE_16BIT,
};

static struct resource smc91x_eth_resources[] = {
[0] = {
.name = "smc91x-regs" ,
Expand All @@ -64,6 +69,7 @@ static struct platform_device smc91x_eth_device = {
.dev = {
.dma_mask = NULL, /* don't use dma */
.coherent_dma_mask = 0xffffffff,
.platform_data = &smc91x_info,
},
.num_resources = ARRAY_SIZE(smc91x_eth_resources),
.resource = smc91x_eth_resources,
Expand Down

0 comments on commit 32f3311

Please sign in to comment.