summaryrefslogtreecommitdiffstats
path: root/drivers/nfc/pn544/Makefile
diff options
context:
space:
mode:
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 72573388..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
OpenPOWER on IntegriCloud