]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: st-nci: Auto-select core module
authorChristophe Ricard <christophe.ricard@gmail.com>
Wed, 23 Dec 2015 22:45:16 +0000 (23:45 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 29 Dec 2015 18:06:19 +0000 (19:06 +0100)
commitaf17dddc6cd3546e2d22d9f3ba3bfa646e92bf9f
treed35cd82e364e9b96f0eb573e0f56dd8dd55fd7d8
parente74d9f7a07c5da654e01670bc6f86535bec16580
NFC: st-nci: Auto-select core module

The core st-nci module is useless without either the I2C or the
SPI access module. So hide NFC_ST_NCI and select it automatically
if either NFC_ST_NCI_I2C or NFC_ST_NCI_SPI is selected.

This avoids presenting NFC_ST_NCI when neither NFC_ST_NCI_I2C nor
NFC_ST_NCI_SPI can be selected.

Cc: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st-nci/Kconfig