aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nfc
diff options
context:
space:
mode:
authorLauro Ramos Venancio <lauro.venancio@openbossa.org>2011-07-01 18:31:33 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-07-05 15:26:57 -0400
commit3e256b8f8dfa309a80b5dece388d85d9a9801a29 (patch)
treed5936ec25998426c2166dbd954b0fd8cc32c56af /drivers/nfc
parent2b4562dfd6ad3579951de21168cb9d266ed3f1bd (diff)
NFC: add nfc subsystem core
The NFC subsystem core is responsible for providing the device driver interface. It is also responsible for providing an interface to the control operations and data exchange. Signed-off-by: Lauro Ramos Venancio <lauro.venancio@openbossa.org> Signed-off-by: Aloisio Almeida Jr <aloisio.almeida@openbossa.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/nfc')
-rw-r--r--drivers/nfc/Kconfig16
-rw-r--r--drivers/nfc/Makefile2
2 files changed, 5 insertions, 13 deletions
diff --git a/drivers/nfc/Kconfig b/drivers/nfc/Kconfig
index ea1580085347..780928918fc3 100644
--- a/drivers/nfc/Kconfig
+++ b/drivers/nfc/Kconfig
@@ -2,17 +2,8 @@
2# Near Field Communication (NFC) devices 2# Near Field Communication (NFC) devices
3# 3#
4 4
5menuconfig NFC_DEVICES 5menu "Near Field Communication (NFC) devices"
6 bool "Near Field Communication (NFC) devices" 6 depends on NFC
7 default n
8 ---help---
9 You'll have to say Y if your computer contains an NFC device that
10 you want to use under Linux.
11
12 You can say N here if you don't have any Near Field Communication
13 devices connected to your computer.
14
15if NFC_DEVICES
16 7
17config PN544_NFC 8config PN544_NFC
18 tristate "PN544 NFC driver" 9 tristate "PN544 NFC driver"
@@ -26,5 +17,4 @@ config PN544_NFC
26 To compile this driver as a module, choose m here. The module will 17 To compile this driver as a module, choose m here. The module will
27 be called pn544. 18 be called pn544.
28 19
29 20endmenu
30endif # NFC_DEVICES
diff --git a/drivers/nfc/Makefile b/drivers/nfc/Makefile
index a4efb164ec49..25296f04ccbe 100644
--- a/drivers/nfc/Makefile
+++ b/drivers/nfc/Makefile
@@ -3,3 +3,5 @@
3# 3#
4 4
5obj-$(CONFIG_PN544_NFC) += pn544.o 5obj-$(CONFIG_PN544_NFC) += pn544.o
6
7ccflags-$(CONFIG_NFC_DEBUG) := -DDEBUG