dependencies: add deps for struct acpi_gpio_mapping
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 21 Aug 2017 22:28:11 +0000 (00:28 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Sep 2017 15:04:35 +0000 (17:04 +0200)
These NFC drivers are using struct acpi_gpio_mapping which was added in
kernel 3.19. Do not try to build them on older kernel versions where
this structures is not available.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
dependencies

index 83407976ac2bee1411cd15878973186e418b53c6..41633d72bdf03f77224431eb11eefabcf537fabd 100644 (file)
@@ -58,11 +58,12 @@ NFC_PN544_I2C 3.17
 # this needs devm_gpiod_get_index() with 4 arguments.
 NFC_NXP_NCI_I2C 3.17
 
-# this needs device_property..() functions
-NFC_FDP_I2C 3.18
-NFC_ST21NFCA_I2C 3.18
-NFC_ST_NCI_I2C 3.18
-NFC_ST_NCI_SPI 3.18
+# this needs device_property..() functions and struct acpi_gpio_mapping
+NFC_FDP_I2C 3.19
+NFC_ST21NFCA_I2C 3.19
+NFC_ST_NCI_I2C 3.19
+NFC_ST_NCI_SPI 3.19
+NFC_PN544_I2C 3.19
 
 # for whoever wants to backport this: GPIOF_EXPORT was redefined via commit
 # 79a9becd on v3.13-rc1~120^2~15, before this it was redefined via commit