diff options
author | 2013-05-07 19:22:11 +0200 | |
---|---|---|
committer | 2013-06-14 13:44:19 +0200 | |
commit | 0b456c418a5595b9d67f300c9ac6a2441e774603 (patch) | |
tree | 3a995c4573c1cd6e7fd0582e9b233ab4b40f5817 /drivers/nfc/pn533.c | |
parent | NFC: pn533: Copy NFCID2 through ATR_REQ (diff) | |
download | linux-0b456c418a5595b9d67f300c9ac6a2441e774603.tar.gz linux-0b456c418a5595b9d67f300c9ac6a2441e774603.tar.bz2 linux-0b456c418a5595b9d67f300c9ac6a2441e774603.zip |
NFC: Remove the static supported_se field
Supported secure elements are typically found during a discovery process
initiated when the NFC controller is up and running. For a given NFC
chipset there can be many configurations (embedded SE or not, with or
without a SIM card wired to the NFC controller SWP interface, etc...) and
thus driver code will never know before hand which SEs are available.
So we remove this field, it will be replaced by a real SE discovery
mechanism.
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/pn533.c')
-rw-r--r-- | drivers/nfc/pn533.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nfc/pn533.c b/drivers/nfc/pn533.c index e196bdfcfc30..a1b46aa7b4d5 100644 --- a/drivers/nfc/pn533.c +++ b/drivers/nfc/pn533.c @@ -2791,7 +2791,6 @@ static int pn533_probe(struct usb_interface *interface, dev->nfc_dev = nfc_allocate_device(&pn533_nfc_ops, protocols, - NFC_SE_NONE, dev->ops->tx_header_len + PN533_CMD_DATAEXCH_HEAD_LEN, dev->ops->tx_tail_len); |