Browse Source

[SCSI] ufshcd-pltfrm: add missing empty slot in ufs_of_match[]

of_match_table member in struct device_driver must be terminated by
empty slot as a sentinel.

Signed-off-by: Akinobu Mita <mita@fixstars.com>
Signed-off-by: Santosh Y <santoshsy@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Akinobu Mita 12 years ago
parent
commit
2e2930a344
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/scsi/ufs/ufshcd-pltfrm.c

+ 1 - 0
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 = {