summaryrefslogtreecommitdiff
path: root/drivers/nfc/pn544/Makefile
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2012-12-18 15:26:23 (GMT)
committerSamuel Ortiz <sameo@linux.intel.com>2013-01-09 23:51:52 (GMT)
commitaa74103071312fede1f4953fe3c027941add1256 (patch)
treeef18da500a359869f6bbff17fd372e704693eb2b /drivers/nfc/pn544/Makefile
parentbf71ab8ba53081c28b960d48e0c4cd1c17588aa6 (diff)
downloadlinux-fsl-qoriq-aa74103071312fede1f4953fe3c027941add1256.tar.xz
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/pn544/Makefile')
-rw-r--r--drivers/nfc/pn544/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/nfc/pn544/Makefile b/drivers/nfc/pn544/Makefile
index 7257338..ac07679 100644
--- a/drivers/nfc/pn544/Makefile
+++ b/drivers/nfc/pn544/Makefile
@@ -2,6 +2,7 @@
# Makefile for PN544 HCI based NFC driver
#
-obj-$(CONFIG_PN544_HCI_NFC) += pn544_i2c.o
+pn544_i2c-objs = i2c.o
-pn544_i2c-y := pn544.o i2c.o
+obj-$(CONFIG_NFC_PN544) += pn544.o
+obj-$(CONFIG_NFC_PN544_I2C) += pn544_i2c.o