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

The core st21nca module is useless without the I2C access module.
So hide NFC_ST21NFCA and select it automatically if either
NFC_ST21NFCA_I2C is selected.

This avoids presenting NFC_ST21NFCA when NFC_ST21NFCA_I2C can't 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/st21nfca/Kconfig