Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123711
b: refs/heads/master
c: 3d89baa
h: refs/heads/master
i:
  123709: 279e92f
  123707: 7680166
  123703: f675b4b
  123695: 9fbad5f
  123679: 4ff28f2
  123647: 7f95134
v: v3
  • Loading branch information
Sascha Hauer authored and Russell King committed Dec 14, 2008
1 parent f124d83 commit a82f973
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 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: 7180d868e3ff0741e9483c7a056445854e5af876
refs/heads/master: 3d89baa73a392e242b5eb7b0e749a08af3bf014f
15 changes: 15 additions & 0 deletions trunk/arch/arm/mach-mx2/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,21 @@ struct platform_device mxc_wdt = {
.resource = mxc_wdt_resources,
};

static struct resource mxc_w1_master_resources[] = {
{
.start = OWIRE_BASE_ADDR,
.end = OWIRE_BASE_ADDR + SZ_4K - 1,
.flags = IORESOURCE_MEM,
},
};

struct platform_device mxc_w1_master_device = {
.name = "mxc_w1",
.id = 0,
.num_resources = ARRAY_SIZE(mxc_w1_master_resources),
.resource = mxc_w1_master_resources,
};

/* GPIO port description */
static struct mxc_gpio_port imx_gpio_ports[] = {
[0] = {
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-mx2/devices.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ extern struct platform_device mxc_uart_device2;
extern struct platform_device mxc_uart_device3;
extern struct platform_device mxc_uart_device4;
extern struct platform_device mxc_uart_device5;

extern struct platform_device mxc_w1_master_device;

0 comments on commit a82f973

Please sign in to comment.