diff options
author | Quinn Jensen <quinn.jensen@freescale.com> | 2007-05-24 18:07:08 -0600 |
---|---|---|
committer | Quinn Jensen <quinn.jensen@freescale.com> | 2007-05-24 18:07:08 -0600 |
commit | 3b85c53a05092e0619fc78a071c05ba79a34ebaa (patch) | |
tree | 2d7111a6ca333b77b4a42eee739d308e276b94fc /arch | |
parent | 40ef418ce90f8721215b06a661c77be2259c113e (diff) |
CR TLSbo92112: Add platform data for one wire for all platforms.
http://www.bitshrine.org/gpp/linux-2.6.19.2-mx-add_1wire_platform_data.patch
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mx27/devices.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-mx3/devices.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-mx27/devices.c b/arch/arm/mach-mx27/devices.c index bc17230660ae..ae90cf38a91a 100644 --- a/arch/arm/mach-mx27/devices.c +++ b/arch/arm/mach-mx27/devices.c @@ -34,10 +34,15 @@ static void mxc_nop_release(struct device *dev) } #if defined(CONFIG_W1_MASTER_MXC) || defined(CONFIG_W1_MASTER_MXC_MODULE) +static struct mxc_w1_config mxc_w1_data = { + .search_rom_accelerator = 0, +}; + static struct platform_device mxc_w1_devices = { .name = "mxc_w1", .dev = { .release = mxc_nop_release, + .platform_data = &mxc_w1_data, }, .id = 0 }; diff --git a/arch/arm/mach-mx3/devices.c b/arch/arm/mach-mx3/devices.c index b8afb96a5165..715e64f371ef 100644 --- a/arch/arm/mach-mx3/devices.c +++ b/arch/arm/mach-mx3/devices.c @@ -138,10 +138,15 @@ static void mxc_nop_release(struct device *dev) } #if defined(CONFIG_W1_MASTER_MXC) || defined(CONFIG_W1_MASTER_MXC_MODULE) +static struct mxc_w1_config mxc_w1_data = { + .search_rom_accelerator = 0, +}; + static struct platform_device mxc_w1_devices = { .name = "mxc_w1", .dev = { .release = mxc_nop_release, + .platform_data = &mxc_w1_data, }, .id = 0 }; |