diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2012-12-18 16:26:23 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-01-10 00:51:52 +0100 |
commit | aa74103071312fede1f4953fe3c027941add1256 (patch) | |
tree | ef18da500a359869f6bbff17fd372e704693eb2b /drivers/nfc/pn544/Makefile | |
parent | bf71ab8ba53081c28b960d48e0c4cd1c17588aa6 (diff) | |
download | talos-op-linux-aa74103071312fede1f4953fe3c027941add1256.tar.gz talos-op-linux-aa74103071312fede1f4953fe3c027941add1256.zip |
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/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/nfc/pn544/Makefile b/drivers/nfc/pn544/Makefile index 725733881eb3..ac076793687d 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 |