commit | 262e7198bc0e77614f5e9301e0804462741a29fc | [log] [tgz] |
---|---|---|
author | Samuel Ortiz <sameo@linux.intel.com> | Thu May 28 17:10:03 2015 +0200 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Mon Jun 08 23:15:31 2015 +0200 |
tree | d3c89879a51446e43c04546e015c207a77517709 | |
parent | 551e306905ef2075b3ad03390ef3e19bd1739598 [diff] |
NFC: nxp-nci: Fix build warning When GPIO is not enabled we hit this kind of warning: drivers/nfc/nxp-nci/i2c.c: In function 'nxp_nci_i2c_acpi_config': drivers/nfc/nxp-nci/i2c.c:320:2: error: implicit declaration of function 'devm_gpiod_get_index' [-Werror=implicit-function-declaration] gpiod_en = devm_gpiod_get_index(&client->dev, NULL, 2); This is fixed by explicitely including gpio/consumer.h. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>