summaryrefslogtreecommitdiffstats
path: root/drivers/nfc
diff options
context:
space:
mode:
authorVincent Cuissard <cuissard@marvell.com>2015-06-12 15:35:51 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2015-06-13 00:07:17 +0200
commit43465b7af2e6c0cdcbe4771fa268786f2ccd642d (patch)
tree8aadb7207e10ecc09dc360e08a5114bf9b949af3 /drivers/nfc
parente097dc624f784debbde49701a493bf920bc422c7 (diff)
downloadop-kernel-dev-43465b7af2e6c0cdcbe4771fa268786f2ccd642d.zip
op-kernel-dev-43465b7af2e6c0cdcbe4771fa268786f2ccd642d.tar.gz
NFC: nfcmrvl: small fix in USB driver
Marvell NFC USB driver has to be updated to follow new multi PHY driver interface. Signed-off-by: Vincent Cuissard <cuissard@marvell.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc')
-rw-r--r--drivers/nfc/nfcmrvl/usb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nfc/nfcmrvl/usb.c b/drivers/nfc/nfcmrvl/usb.c
index aa3f3c1..7d1fe43 100644
--- a/drivers/nfc/nfcmrvl/usb.c
+++ b/drivers/nfc/nfcmrvl/usb.c
@@ -348,6 +348,7 @@ static int nfcmrvl_probe(struct usb_interface *intf,
return PTR_ERR(priv);
drv_data->priv = priv;
+ drv_data->priv->phy = NFCMRVL_PHY_USB;
priv->dev = &drv_data->udev->dev;
usb_set_intfdata(intf, drv_data);
OpenPOWER on IntegriCloud