X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fkernel%2Fw1-gpio-custom%2Fsrc%2Fw1-gpio-custom.c;h=004c9240ba81a67dd42876e88f3072d3f8297499;hb=61c23c2eaaf7e6c6fbe4c959cd6b58807b663927;hp=fc2f842208cb1c09820e3aad07c7ec2414b54488;hpb=1928106d0df07c7e4be05ed06749eaa34e28d962;p=lede-git%2F.git diff --git a/package/kernel/w1-gpio-custom/src/w1-gpio-custom.c b/package/kernel/w1-gpio-custom/src/w1-gpio-custom.c index fc2f842208..004c9240ba 100644 --- a/package/kernel/w1-gpio-custom/src/w1-gpio-custom.c +++ b/package/kernel/w1-gpio-custom/src/w1-gpio-custom.c @@ -113,6 +113,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; + pdata.ext_pullup_enable_pin = -EINVAL; err = platform_device_add_data(pdev, &pdata, sizeof(pdata)); if (err)