summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorBeomho Seo <beomho.seo@samsung.com>2014-05-15 11:29:22 +0900
committerBeomho Seo <beomho.seo@samsung.com>2014-05-15 11:29:22 +0900
commitac24af7119b5fefeda82d93059bfc5ae9d399e8d (patch)
treeb49b9d23afb8915ca9977e20f6d0913ffc435003 /net
parentfc8fbb1a51b4addf7df245d719b72967ae9ca56f (diff)
downloadlinux-3.10-ac24af7119b5fefeda82d93059bfc5ae9d399e8d.tar.gz
linux-3.10-ac24af7119b5fefeda82d93059bfc5ae9d399e8d.tar.bz2
linux-3.10-ac24af7119b5fefeda82d93059bfc5ae9d399e8d.zip
WORKAROUND: ARM: dts: add rfkill-bluetooth device node
WORKAROUND: Temporary workaround for bluetooth enable. This patch add rfkill-bluetooth device node and pinctrl. And then, add line for parse shutdown-gpio. Change-Id: I1263b020f7c939a65a95c7a5b94e379a7a51210f Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
Diffstat (limited to 'net')
-rw-r--r--net/rfkill/rfkill-gpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c
index 99c778cb35d..ad5c956f1ea 100644
--- a/net/rfkill/rfkill-gpio.c
+++ b/net/rfkill/rfkill-gpio.c
@@ -79,6 +79,7 @@ static int rfkill_gpio_dt_probe(struct device *dev,
rfkill->name = np->name;
of_property_read_string(np, "rfkill-name", &rfkill->name);
of_property_read_u32(np, "rfkill-type", &rfkill->type);
+ rfkill->shutdown_gpio = of_get_named_gpio(np, "shutdown-gpio", 0);
return 0;
}