mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
w1-gpio-custom: set enable_external_pullup to null (#8952)
SVN-Revision: 33034
This commit is contained in:
parent
143ef2c8ff
commit
105c0d3fa4
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2008-2010 OpenWrt.org
|
# Copyright (C) 2008-2012 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
include $(INCLUDE_DIR)/kernel.mk
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
PKG_NAME:=w1-gpio-custom
|
PKG_NAME:=w1-gpio-custom
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
@ -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.pin = params[BUS_PARAM_PIN];
|
||||||
pdata.is_open_drain = params[BUS_PARAM_OD] ? 1:0;
|
pdata.is_open_drain = params[BUS_PARAM_OD] ? 1:0;
|
||||||
|
pdata.enable_external_pullup = NULL;
|
||||||
|
|
||||||
err = platform_device_add_data(pdev, &pdata, sizeof(pdata));
|
err = platform_device_add_data(pdev, &pdata, sizeof(pdata));
|
||||||
if (err)
|
if (err)
|
||||||
|
Loading…
Reference in New Issue
Block a user