Re: [PATCH] scsi: ufs-qcom: Make structure ufs_hba_qcom_vops constant

2019-08-19 Thread Martin K. Petersen
Nishka, > Static structure ufs_hba_qcom_vops, of type ufs_hba_variant_ops, is used > only once, when it is passed as the second argument to function > ufshcd_pltfrm_init(). In the definition of ufshcd_pltfrm_init(), its > second parameter (corresponding to ufs_hba_qcom_vops) is declared as > con

Re: [PATCH] scsi: ufs-qcom: Make structure ufs_hba_qcom_vops constant

2019-08-19 Thread Vivek Gautam
On Mon, Aug 19, 2019 at 1:26 PM Nishka Dasgupta wrote: > > Static structure ufs_hba_qcom_vops, of type ufs_hba_variant_ops, is used > only once, when it is passed as the second argument to function > ufshcd_pltfrm_init(). In the definition of ufshcd_pltfrm_init(), its > second parameter (correspon

[PATCH] scsi: ufs-qcom: Make structure ufs_hba_qcom_vops constant

2019-08-19 Thread Nishka Dasgupta
Static structure ufs_hba_qcom_vops, of type ufs_hba_variant_ops, is used only once, when it is passed as the second argument to function ufshcd_pltfrm_init(). In the definition of ufshcd_pltfrm_init(), its second parameter (corresponding to ufs_hba_qcom_vops) is declared as constant. Hence declare