The patch titled MX31: add w1 platform_device and resources has been added to the -mm tree. Its filename is mx31-add-w1-platform_device-and-resources.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: MX31: add w1 platform_device and resources From: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> Signed-off-by: Evgeniy Polyakov <zbr@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/arm/mach-mx3/devices.c | 15 +++++++++++++++ arch/arm/mach-mx3/devices.h | 1 + 2 files changed, 16 insertions(+) diff -puN arch/arm/mach-mx3/devices.c~mx31-add-w1-platform_device-and-resources arch/arm/mach-mx3/devices.c --- a/arch/arm/mach-mx3/devices.c~mx31-add-w1-platform_device-and-resources +++ a/arch/arm/mach-mx3/devices.c @@ -145,3 +145,18 @@ int __init mxc_register_gpios(void) { return mxc_gpio_init(imx_gpio_ports, ARRAY_SIZE(imx_gpio_ports)); } + +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, +}; diff -puN arch/arm/mach-mx3/devices.h~mx31-add-w1-platform_device-and-resources arch/arm/mach-mx3/devices.h --- a/arch/arm/mach-mx3/devices.h~mx31-add-w1-platform_device-and-resources +++ a/arch/arm/mach-mx3/devices.h @@ -4,3 +4,4 @@ extern struct platform_device mxc_uart_d 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_w1_master_device; _ Patches currently in -mm which might be from s.hauer@xxxxxxxxxxxxxx are mx2-add-w1-device-resources.patch mx31-add-w1-platform_device-and-resources.patch mx2-pcm038-add-1-wire-master-support.patch pcm037-add-1wire-support.patch w1-add-1-wire-master-driver-for-imx27-imx31.patch w1-add-1-wire-master-driver-for-imx27-imx31-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html