diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2012-12-18 10:26:23 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-01-09 18:51:52 -0500 |
commit | aa74103071312fede1f4953fe3c027941add1256 (patch) | |
tree | ef18da500a359869f6bbff17fd372e704693eb2b /drivers/nfc/Kconfig | |
parent | bf71ab8ba53081c28b960d48e0c4cd1c17588aa6 (diff) |
NFC: pn544: Separate the core code and the i2c one into different modules
As we may need to support other physical layers, we can avoid linking the
core part into each and every pn544 module.
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/Kconfig')
-rw-r--r-- | drivers/nfc/Kconfig | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/drivers/nfc/Kconfig b/drivers/nfc/Kconfig index ec857676c39f..80c728b28828 100644 --- a/drivers/nfc/Kconfig +++ b/drivers/nfc/Kconfig | |||
@@ -5,19 +5,6 @@ | |||
5 | menu "Near Field Communication (NFC) devices" | 5 | menu "Near Field Communication (NFC) devices" |
6 | depends on NFC | 6 | depends on NFC |
7 | 7 | ||
8 | config PN544_HCI_NFC | ||
9 | tristate "HCI PN544 NFC driver" | ||
10 | depends on I2C && NFC_HCI && NFC_SHDLC | ||
11 | select CRC_CCITT | ||
12 | default n | ||
13 | ---help--- | ||
14 | NXP PN544 i2c driver. | ||
15 | This is a driver based on the SHDLC and HCI NFC kernel layers and | ||
16 | will thus not work with NXP libnfc library. | ||
17 | |||
18 | To compile this driver as a module, choose m here. The module will | ||
19 | be called pn544_hci. | ||
20 | |||
21 | config NFC_PN533 | 8 | config NFC_PN533 |
22 | tristate "NXP PN533 USB driver" | 9 | tristate "NXP PN533 USB driver" |
23 | depends on USB | 10 | depends on USB |
@@ -39,4 +26,6 @@ config NFC_WILINK | |||
39 | Say Y here to compile support for Texas Instrument's NFC WiLink driver | 26 | Say Y here to compile support for Texas Instrument's NFC WiLink driver |
40 | into the kernel or say M to compile it as module. | 27 | into the kernel or say M to compile it as module. |
41 | 28 | ||
29 | source "drivers/nfc/pn544/Kconfig" | ||
30 | |||
42 | endmenu | 31 | endmenu |