summaryrefslogtreecommitdiff
path: root/drivers/nfc/nfcmrvl/uart.c
diff options
context:
space:
mode:
authorVincent Cuissard <cuissard@marvell.com>2015-10-26 12:27:40 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2015-10-27 06:19:44 +0300
commit58d34aa677ec248539262c54a618d61804a893f1 (patch)
tree28445e1e86c73b08ba0990dcd6be335d55ab43d9 /drivers/nfc/nfcmrvl/uart.c
parent3194c6870158e305dac2af52f83681e9cb67280f (diff)
downloadlinux-58d34aa677ec248539262c54a618d61804a893f1.tar.xz
NFC: nfcmrvl: configure head/tail room values per low level drivers
Low-level drivers may need to add some data before and/or after NCI packet. Signed-off-by: Vincent Cuissard <cuissard@marvell.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/nfcmrvl/uart.c')
-rw-r--r--drivers/nfc/nfcmrvl/uart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nfc/nfcmrvl/uart.c b/drivers/nfc/nfcmrvl/uart.c
index 835582435560..4dccee2566cf 100644
--- a/drivers/nfc/nfcmrvl/uart.c
+++ b/drivers/nfc/nfcmrvl/uart.c
@@ -138,11 +138,11 @@ static int nfcmrvl_nci_uart_open(struct nci_uart *nu)
pdata = &config;
}
- priv = nfcmrvl_nci_register_dev(nu, &uart_ops, nu->tty->dev, pdata);
+ priv = nfcmrvl_nci_register_dev(NFCMRVL_PHY_UART, nu, &uart_ops,
+ nu->tty->dev, pdata);
if (IS_ERR(priv))
return PTR_ERR(priv);
- priv->phy = NFCMRVL_PHY_UART;
priv->support_fw_dnld = true;
nu->drv_data = priv;