NFC: microread: Auto-select core module
authorJean Delvare <jdelvare@suse.de>
Fri, 25 Sep 2015 08:52:26 +0000 (10:52 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 19 Oct 2015 18:01:19 +0000 (20:01 +0200)
commit04831ae41c034db2e2922c460cc818c4a1f6e7e0
tree87467834840de1efd59995fc2e407e2340fb8887
parentb2117c12ab4d351cb309331ba8605a9d4e03f2f1
NFC: microread: Auto-select core module

As I understand it, the core nfc_microread module is useless without
either the I2C or the MEI access module. So hide NFC_MICROREAD and
select it automatically if either NFC_MICROREAD_I2C or
NFC_MICROREAD_MEI is selected.

This avoids presenting NFC_MICROREAD when neither NFC_MICROREAD_I2C
nor NFC_MICROREAD_MEI can be selected.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Lauro Ramos Venancio <lauro.venancio@openbossa.org>
Cc: Aloisio Almeida Jr <aloisio.almeida@openbossa.org>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/microread/Kconfig