NFC: nfcmrvl: small fix in USB driver
authorVincent Cuissard <cuissard@marvell.com>
Fri, 12 Jun 2015 13:35:51 +0000 (15:35 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 12 Jun 2015 22:07:17 +0000 (00:07 +0200)
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>
drivers/nfc/nfcmrvl/usb.c

index aa3f3c1cff0a1bf265943de6ea7880a157f8e137..7d1fe436c9f643345f2e14ba6eb5387ec7991f54 100644 (file)
@@ -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);