diff options
author | Eric Lapuyade <eric.lapuyade@linux.intel.com> | 2012-10-02 18:44:06 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-10-26 18:26:46 +0200 |
commit | 97f18414af395c547f20300e5d4c81d7190a4155 (patch) | |
tree | 4a2eb92f03d4bf8f8ff82452b2118f91d5780eef /include | |
parent | 632c016ab8ba1f98262bd6242b38d73ee4ae652e (diff) | |
download | linux-97f18414af395c547f20300e5d4c81d7190a4155.tar.gz linux-97f18414af395c547f20300e5d4c81d7190a4155.tar.bz2 linux-97f18414af395c547f20300e5d4c81d7190a4155.zip |
NFC: Separate pn544 hci driver in HW dependant and independant parts
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/nfc/hci.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/nfc/hci.h b/include/net/nfc/hci.h index bc87b8f2d692..639f50af42df 100644 --- a/include/net/nfc/hci.h +++ b/include/net/nfc/hci.h @@ -24,6 +24,12 @@ #include <net/nfc/nfc.h> +struct nfc_phy_ops { + int (*write)(void *dev_id, struct sk_buff *skb); + int (*enable)(void *dev_id); + void (*disable)(void *dev_id); +}; + struct nfc_hci_dev; struct nfc_hci_ops { |