diff options
Diffstat (limited to 'drivers/nfc/microread/microread.c')
-rw-r--r-- | drivers/nfc/microread/microread.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/nfc/microread/microread.c b/drivers/nfc/microread/microread.c index 3420d833db17..cdb9f6de132a 100644 --- a/drivers/nfc/microread/microread.c +++ b/drivers/nfc/microread/microread.c | |||
@@ -650,7 +650,7 @@ int microread_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name, | |||
650 | { | 650 | { |
651 | struct microread_info *info; | 651 | struct microread_info *info; |
652 | unsigned long quirks = 0; | 652 | unsigned long quirks = 0; |
653 | u32 protocols, se; | 653 | u32 protocols; |
654 | struct nfc_hci_init_data init_data; | 654 | struct nfc_hci_init_data init_data; |
655 | int r; | 655 | int r; |
656 | 656 | ||
@@ -678,10 +678,8 @@ int microread_probe(void *phy_id, struct nfc_phy_ops *phy_ops, char *llc_name, | |||
678 | NFC_PROTO_ISO14443_B_MASK | | 678 | NFC_PROTO_ISO14443_B_MASK | |
679 | NFC_PROTO_NFC_DEP_MASK; | 679 | NFC_PROTO_NFC_DEP_MASK; |
680 | 680 | ||
681 | se = NFC_SE_UICC | NFC_SE_EMBEDDED; | ||
682 | |||
683 | info->hdev = nfc_hci_allocate_device(µread_hci_ops, &init_data, | 681 | info->hdev = nfc_hci_allocate_device(µread_hci_ops, &init_data, |
684 | quirks, protocols, se, llc_name, | 682 | quirks, protocols, llc_name, |
685 | phy_headroom + | 683 | phy_headroom + |
686 | MICROREAD_CMDS_HEADROOM, | 684 | MICROREAD_CMDS_HEADROOM, |
687 | phy_tailroom + | 685 | phy_tailroom + |