9
0
Fork 0

at91: sam9x5ek: use -EINVAL for invalid gpio on 1-wire

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2012-12-17 03:02:31 +08:00
parent 6cd8247eb7
commit 8c93adeb0a
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@
struct w1_gpio_platform_data w1_pdata = {
.pin = AT91_PIN_PB18,
.ext_pullup_enable_pin = -EINVAL,
.is_open_drain = 0,
};