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)
commitdfa4089b3a3f3ac8bea847f968c92b89fbbf107c
tree75024b17577c124b453f4ff4899b84b735775441
parent9ba04ebf82ba26d848a74e0e1c72ddf09d5a1265
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