gpio: Only descend into gpio directory when CONFIG_GPIOLIB is set
authorAndrew F. Davis <afd@ti.com>
Mon, 13 Jun 2016 20:02:00 +0000 (15:02 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 14 Jun 2016 06:58:06 +0000 (08:58 +0200)
commit6b891a2647337554f4b5cdff98d843f5e25b70af
treeea8dd62750e472f076be50950c44ed8edd149d96
parent3a0000f0cabba5e6e1d61e969250fc31e33f18bc
gpio: Only descend into gpio directory when CONFIG_GPIOLIB is set

When CONFIG_GPIOLIB is not set make will still descend into the gpio
directory but nothing will be built. This produces unneeded build
artifacts and messages in addition to slowing the build. Fix this here.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/Makefile