Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106870
b: refs/heads/master
c: 4875ea2
h: refs/heads/master
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Jul 28, 2008
1 parent 292b2c0 commit d4a5ab7
Show file tree
Hide file tree
Showing 2 changed files with 11 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: 6968980a1bc0ba56dd8ef21c14577af3f2f9992b
refs/heads/master: 4875ea224af0215635f18c2c1b060fb023c7602f
10 changes: 10 additions & 0 deletions trunk/arch/sh/boards/renesas/ap325rxa/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,22 @@

#include <linux/init.h>
#include <linux/device.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/mtd/physmap.h>
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/delay.h>
#include <linux/smc911x.h>
#include <asm/sh_mobile_lcdc.h>
#include <asm/io.h>
#include <asm/clock.h>

static struct smc911x_platdata smc911x_info = {
.flags = SMC911X_USE_32BIT,
.irq_flags = IRQF_TRIGGER_LOW,
};

static struct resource smc9118_resources[] = {
[0] = {
.start = 0xb6080000,
Expand All @@ -39,6 +46,9 @@ static struct platform_device smc9118_device = {
.id = -1,
.num_resources = ARRAY_SIZE(smc9118_resources),
.resource = smc9118_resources,
.dev = {
.platform_data = &smc911x_info,
},
};

static struct mtd_partition ap325rxa_nor_flash_partitions[] = {
Expand Down

0 comments on commit d4a5ab7

Please sign in to comment.