Messages in this thread |  | | Subject | Re: [PATCH v2 4/4] scsi: ufs: probe and init of variant driver from the platform device | From | Paul Bolle <> | Date | Thu, 04 Jun 2015 16:42:10 +0200 |
| |
On Thu, 2015-06-04 at 16:07 +0200, Paul Bolle wrote: > On Wed, 2015-06-03 at 12:37 +0300, Yaniv Gardi wrote: > > +static int ufs_qcom_probe(struct platform_device *pdev) > > +{ > > + dev_set_drvdata(&pdev->dev, (void *)&ufs_hba_qcom_vops); > > (Cast to void * should not be needed.)
Only if ufs_hba_qcom_vops wasn't a _const_ struct ufs_hba_variant_ops, that is. Never mind.
Paul Bolle
|  |