summaryrefslogtreecommitdiffstats
path: root/package/w1-gpio-custom/src
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-07 16:08:08 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-07 16:08:08 +0000
commitecd6448e18c70705391485d13680c6b1db3ebbd2 (patch)
tree8179ba9ef1179c4c6316fb8856cf6e94a360692b /package/w1-gpio-custom/src
parent9b37c00d7bd9ddd1f7e704db31e6683cf92b5162 (diff)
[package] w1-gpio-custom: set enable_external_pullup to null (#8952)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33034 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/w1-gpio-custom/src')
-rw-r--r--package/w1-gpio-custom/src/w1-gpio-custom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/w1-gpio-custom/src/w1-gpio-custom.c b/package/w1-gpio-custom/src/w1-gpio-custom.c
index 8f739d49f..96cfcabc6 100644
--- a/package/w1-gpio-custom/src/w1-gpio-custom.c
+++ b/package/w1-gpio-custom/src/w1-gpio-custom.c
@@ -112,6 +112,7 @@ static int __init w1_gpio_custom_add_one(unsigned int id, unsigned int *params)
pdata.pin = params[BUS_PARAM_PIN];
pdata.is_open_drain = params[BUS_PARAM_OD] ? 1:0;
+ pdata.enable_external_pullup = NULL;
err = platform_device_add_data(pdev, &pdata, sizeof(pdata));
if (err)