projects
/
openwrt
/
staging
/
mkresin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
w1-gpio-custom: set enable_external_pullup to null (#8952)
[openwrt/staging/mkresin.git]
/
package
/
w1-gpio-custom
/
src
/
w1-gpio-custom.c
diff --git
a/package/w1-gpio-custom/src/w1-gpio-custom.c
b/package/w1-gpio-custom/src/w1-gpio-custom.c
index 8f739d49fd491f48ad54ab088c34486421de63f6..96cfcabc610703cba707d2fbf5f95567b28fbb54 100644
(file)
--- 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)