NFC: pn544: Auto-select core module
authorJean Delvare <jdelvare@suse.de>
Fri, 25 Sep 2015 08:49:36 +0000 (10:49 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 19 Oct 2015 17:56:28 +0000 (19:56 +0200)
commitb2117c12ab4d351cb309331ba8605a9d4e03f2f1
treea8f5580be1d45389debcaea3d80ccf8a3765407f
parent3c39c1a54a26c5495d48df796bc1f3fba78667f2
NFC: pn544: Auto-select core module

As I understand it, the core nfc_pn544 module is useless without
either the I2C or the MEI access module. So hide NFC_PN544 and
select it automatically if either NFC_PN544_I2C or NFC_PN544_MEI is
selected.

This avoids presenting NFC_PN544 when neither NFC_PN544_I2C nor
NFC_PN544_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/pn544/Kconfig