diff options
Diffstat (limited to 'drivers/nfc/mei_phy.c')
-rw-r--r-- | drivers/nfc/mei_phy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/nfc/mei_phy.c b/drivers/nfc/mei_phy.c index 1201bdbfb791..606bf55e76ec 100644 --- a/drivers/nfc/mei_phy.c +++ b/drivers/nfc/mei_phy.c | |||
@@ -30,7 +30,7 @@ struct mei_nfc_hdr { | |||
30 | u16 req_id; | 30 | u16 req_id; |
31 | u32 reserved; | 31 | u32 reserved; |
32 | u16 data_size; | 32 | u16 data_size; |
33 | } __attribute__((packed)); | 33 | } __packed; |
34 | 34 | ||
35 | #define MEI_NFC_MAX_READ (MEI_NFC_HEADER_SIZE + MEI_NFC_MAX_HCI_PAYLOAD) | 35 | #define MEI_NFC_MAX_READ (MEI_NFC_HEADER_SIZE + MEI_NFC_MAX_HCI_PAYLOAD) |
36 | 36 | ||
@@ -60,8 +60,8 @@ int nfc_mei_phy_enable(void *phy_id) | |||
60 | 60 | ||
61 | r = mei_cl_enable_device(phy->device); | 61 | r = mei_cl_enable_device(phy->device); |
62 | if (r < 0) { | 62 | if (r < 0) { |
63 | pr_err("MEI_PHY: Could not enable device\n"); | 63 | pr_err("MEI_PHY: Could not enable device\n"); |
64 | return r; | 64 | return r; |
65 | } | 65 | } |
66 | 66 | ||
67 | r = mei_cl_register_event_cb(phy->device, nfc_mei_event_cb, phy); | 67 | r = mei_cl_register_event_cb(phy->device, nfc_mei_event_cb, phy); |