Skip to content

Commit

Permalink
NFC: Separate pn544 hci driver in HW dependant and independant parts
Browse files Browse the repository at this point in the history
The driver now has all HCI stuff isolated in one file, and all the
hardware link specifics in another. Writing a pn544 driver on top of
another hardware link is now just a matter of adding a new file for that
new hardware specifics.

Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Eric Lapuyade authored and Samuel Ortiz committed Oct 26, 2012
1 parent 632c016 commit 97f1841
Show file tree
Hide file tree
Showing 6 changed files with 570 additions and 415 deletions.
2 changes: 1 addition & 1 deletion drivers/nfc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Makefile for nfc devices
#

obj-$(CONFIG_PN544_HCI_NFC) += pn544_hci.o
obj-$(CONFIG_PN544_HCI_NFC) += pn544/
obj-$(CONFIG_NFC_PN533) += pn533.o
obj-$(CONFIG_NFC_WILINK) += nfcwilink.o

Expand Down
7 changes: 7 additions & 0 deletions drivers/nfc/pn544/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#
# Makefile for PN544 HCI based NFC driver
#

obj-$(CONFIG_PN544_HCI_NFC) += pn544_i2c.o

pn544_i2c-y := pn544.o i2c.o
Loading

0 comments on commit 97f1841

Please sign in to comment.