extcon: palmas: Fix build break due to devm_gpiod_get_optional API change
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 13 Aug 2015 00:19:43 +0000 (09:19 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 13 Aug 2015 11:56:18 +0000 (20:56 +0900)
commitac22a1d3386e195c57e299da3bfad97a061b9616
tree5e2936091b0d5907ef494fad0d7bb25bd37a4653
parent92b7cb5dc885b38b21093eefed8028b615952965
extcon: palmas: Fix build break due to devm_gpiod_get_optional API change

With commit b17d1bf16cc7 ("gpio: make flags mandatory for gpiod_get functions")
it becomes necessary to pass the flags argument. And this patch adds the gpio
header file to fix the build breakage when build testing with random
configuration files.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
drivers/extcon/extcon-palmas.c