]> git.baikalelectronics.ru Git - kernel.git/commit
w1-gpio: fix unused variable warning
authorJohan Hovold <jhovold@gmail.com>
Fri, 8 Mar 2013 10:08:00 +0000 (11:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Mar 2013 23:20:46 +0000 (16:20 -0700)
commit479a4ba21c1b502dbf0266716d3cbedae69e63c1
tree2c421c9d61eed8fdde484393fb4a182166f54d7e
parent7fe17f8f2b5e3ce6d5402be21099735f12533f49
w1-gpio: fix unused variable warning

Commit 7be0c6084c ("w1-gpio: Simplify & get rid of defines") removed the
compile guards from the device-tree id table, thereby generating a
warning when building without device-tree support.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/masters/w1-gpio.c