]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
[SCSI] ufshcd-pltfrm: add missing empty slot in ufs_of_match[]
authorAkinobu Mita <mita@fixstars.com>
Wed, 26 Jun 2013 17:09:32 +0000 (22:39 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 28 Jun 2013 20:15:27 +0000 (13:15 -0700)
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>
drivers/scsi/ufs/ufshcd-pltfrm.c

index 0e48827c86bdc2e65dbd9d70644c5d5b3d088973..6829a160869f01dcbde1b7eef4021d543b3ab627 100644 (file)
@@ -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 = {