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>
This commit is contained in:
@@ -115,7 +115,6 @@ struct nfc_dev {
|
||||
struct nfc_genl_data genl_data;
|
||||
u32 supported_protocols;
|
||||
|
||||
u32 supported_se;
|
||||
u32 active_se;
|
||||
|
||||
int tx_headroom;
|
||||
@@ -136,7 +135,6 @@ extern struct class nfc_class;
|
||||
|
||||
struct nfc_dev *nfc_allocate_device(struct nfc_ops *ops,
|
||||
u32 supported_protocols,
|
||||
u32 supported_se,
|
||||
int tx_headroom,
|
||||
int tx_tailroom);
|
||||
|
||||
|
Reference in New Issue
Block a user