Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73379
b: refs/heads/master
c: 9c88b6b
h: refs/heads/master
i:
  73377: 74adf73
  73375: 1063f92
v: v3
  • Loading branch information
Nobuhiro Iwamatsu authored and Paul Mundt committed Nov 7, 2007
1 parent 5f0a0cc commit c98145e
Show file tree
Hide file tree
Showing 4 changed files with 18 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: 694caef5e201d43151cc3a31b447e75b2f531de4
refs/heads/master: 9c88b6ba1c72a8bba30347b63f1531f2d9c2a309
1 change: 1 addition & 0 deletions trunk/arch/sh/boards/se/770x/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ static unsigned char heartbeat_bit_pos[] = { 8, 9, 10, 11, 12, 13, 14, 15 };
static struct heartbeat_data heartbeat_data = {
.bit_pos = heartbeat_bit_pos,
.nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
.regsize = 16,
};

static struct resource heartbeat_resources[] = {
Expand Down
8 changes: 8 additions & 0 deletions trunk/arch/sh/boards/se/7722/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@
#include <asm/machvec.h>
#include <asm/se7722.h>
#include <asm/io.h>
#include <asm/heartbeat.h>

/* Heartbeat */
static struct heartbeat_data heartbeat_data = {
.regsize = 16,
};

static struct resource heartbeat_resources[] = {
[0] = {
.start = PA_LED,
Expand All @@ -29,6 +34,9 @@ static struct resource heartbeat_resources[] = {
static struct platform_device heartbeat_device = {
.name = "heartbeat",
.id = -1,
.dev = {
.platform_data = &heartbeat_data,
},
.num_resources = ARRAY_SIZE(heartbeat_resources),
.resource = heartbeat_resources,
};
Expand Down
8 changes: 8 additions & 0 deletions trunk/arch/sh/boards/se/7780/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@
#include <asm/machvec.h>
#include <asm/se7780.h>
#include <asm/io.h>
#include <asm/heartbeat.h>

/* Heartbeat */
static struct heartbeat_data heartbeat_data = {
.regsize = 16,
};

static struct resource heartbeat_resources[] = {
[0] = {
.start = PA_LED,
Expand All @@ -27,6 +32,9 @@ static struct resource heartbeat_resources[] = {
static struct platform_device heartbeat_device = {
.name = "heartbeat",
.id = -1,
.dev = {
.platform_data = &heartbeat_data,
},
.num_resources = ARRAY_SIZE(heartbeat_resources),
.resource = heartbeat_resources,
};
Expand Down

0 comments on commit c98145e

Please sign in to comment.