Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303123
b: refs/heads/master
c: 167473a
h: refs/heads/master
i:
  303121: 93855c4
  303119: 7bfd405
v: v3
  • Loading branch information
Alexander Clouter authored and Andrew Lunn committed May 14, 2012
1 parent 6acefb2 commit 385c0a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 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: 9f234997dac445a64f5d9672bf21649e6d745bb9
refs/heads/master: 167473a5937f54aaac4c3c01a192a81214933a23
14 changes: 4 additions & 10 deletions trunk/arch/arm/mach-orion5x/ts78xx-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,11 +292,8 @@ static struct platform_nand_data ts78xx_ts_nand_data = {
},
};

static struct resource ts78xx_ts_nand_resources = {
.start = TS_NAND_DATA,
.end = TS_NAND_DATA + 4,
.flags = IORESOURCE_MEM,
};
static struct resource ts78xx_ts_nand_resources
= DEFINE_RES_MEM(TS_NAND_DATA, 4);

static struct platform_device ts78xx_ts_nand_device = {
.name = "gen_nand",
Expand Down Expand Up @@ -332,11 +329,8 @@ static void ts78xx_ts_nand_unload(void)
****************************************************************************/
#define TS_RNG_DATA (TS78XX_FPGA_REGS_PHYS_BASE | 0x044)

static struct resource ts78xx_ts_rng_resource = {
.flags = IORESOURCE_MEM,
.start = TS_RNG_DATA,
.end = TS_RNG_DATA + 4 - 1,
};
static struct resource ts78xx_ts_rng_resource
= DEFINE_RES_MEM(TS_RNG_DATA, 4);

static struct timeriomem_rng_data ts78xx_ts_rng_data = {
.period = 1000000, /* one second */
Expand Down

0 comments on commit 385c0a7

Please sign in to comment.