]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4f048f939fd2c696518f33fd6ded5ad9cd16fa3b
treea8f5580be1d45389debcaea3d80ccf8a3765407f
parent5c29ba5cec84f1b231cda1e9912a212523ef74e8
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