From: Akinobu Mita <m...@fixstars.com> of_match_table member in struct device_driver must be terminated by empty slot as a sentinel.
Signed-off-by: Akinobu Mita <m...@fixstars.com> Cc: Vinayak Holikatti <vinholika...@gmail.com> Cc: "James E.J. Bottomley" <jbottom...@parallels.com> Cc: linux-scsi@vger.kernel.org Signed-off-by: Santosh Y <santos...@gmail.com> diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c b/drivers/scsi/ufs/ufshcd-pltfrm.c index 0e48827..6829a16 100644 --- a/drivers/scsi/ufs/ufshcd-pltfrm.c +++ b/drivers/scsi/ufs/ufshcd-pltfrm.c @@ -157,6 +157,7 @@ static int ufshcd_pltfrm_remove(struct platform_device *pdev) static const struct of_device_id ufs_of_match[] = { { .compatible = "jedec,ufs-1.1"}, + {}, }; static const struct dev_pm_ops ufshcd_dev_pm_ops = { -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html