summaryrefslogtreecommitdiffstats
path: root/drivers/nfc/pn544/i2c.c
diff options
context:
space:
mode:
authorEric Lapuyade <eric.lapuyade@linux.intel.com>2013-07-19 14:58:39 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2013-08-14 01:13:33 +0200
commit8bd7fc89958c2f23a5c5d0113ff65713683041ea (patch)
treee826fa73ac5dea6c11e30945dc5e33543fcdc259 /drivers/nfc/pn544/i2c.c
parent352a5f5fb3ad8f829cfd4248fe6119895bda881f (diff)
downloadop-kernel-dev-8bd7fc89958c2f23a5c5d0113ff65713683041ea.zip
op-kernel-dev-8bd7fc89958c2f23a5c5d0113ff65713683041ea.tar.gz
NFC: pn544: Add firmware operations hci ops
The firmware operation callback is passed by the physical layer to the hci driver during probe. All the driver does is to store it and call it when the fw_upload hci ops is invoked. Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/pn544/i2c.c')
-rw-r--r--drivers/nfc/pn544/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nfc/pn544/i2c.c b/drivers/nfc/pn544/i2c.c
index e09c898..017dc61 100644
--- a/drivers/nfc/pn544/i2c.c
+++ b/drivers/nfc/pn544/i2c.c
@@ -428,7 +428,7 @@ static int pn544_hci_i2c_probe(struct i2c_client *client,
r = pn544_hci_probe(phy, &i2c_phy_ops, LLC_SHDLC_NAME,
PN544_I2C_FRAME_HEADROOM, PN544_I2C_FRAME_TAILROOM,
- PN544_HCI_I2C_LLC_MAX_PAYLOAD, &phy->hdev);
+ PN544_HCI_I2C_LLC_MAX_PAYLOAD, NULL, &phy->hdev);
if (r < 0)
goto err_hci;
OpenPOWER on IntegriCloud