Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327038
b: refs/heads/master
c: eb8ca94
h: refs/heads/master
v: v3
  • Loading branch information
Kuninori Morimoto authored and Simon Horman committed Sep 6, 2012
1 parent 347fae6 commit 39466ac
Show file tree
Hide file tree
Showing 3 changed files with 19 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: 90b85afcba0ec6242172c636691962ab115e296c
refs/heads/master: eb8ca943bae2b84c3fc14dfd7a908cb334465fef
2 changes: 2 additions & 0 deletions trunk/arch/arm/configs/marzen_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ CONFIG_SERIAL_SH_SCI_CONSOLE=y
# CONFIG_HW_RANDOM is not set
CONFIG_GPIO_SYSFS=y
# CONFIG_HWMON is not set
CONFIG_THERMAL=y
CONFIG_RCAR_THERMAL=y
CONFIG_SSB=y
# CONFIG_HID_SUPPORT is not set
# CONFIG_USB_SUPPORT is not set
Expand Down
16 changes: 16 additions & 0 deletions trunk/arch/arm/mach-shmobile/board-marzen.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,25 @@ static struct platform_device sdhi0_device = {
}
};

/* Thermal */
static struct resource thermal_resources[] = {
[0] = {
.start = 0xFFC48000,
.end = 0xFFC48038 - 1,
.flags = IORESOURCE_MEM,
},
};

static struct platform_device thermal_device = {
.name = "rcar_thermal",
.resource = thermal_resources,
.num_resources = ARRAY_SIZE(thermal_resources),
};

static struct platform_device *marzen_devices[] __initdata = {
&eth_device,
&sdhi0_device,
&thermal_device,
};

static void __init marzen_init(void)
Expand Down

0 comments on commit 39466ac

Please sign in to comment.