mmc: dw_mmc: print the message for deprecated property
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 6 Aug 2015 07:23:26 +0000 (16:23 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Aug 2015 10:45:27 +0000 (12:45 +0200)
supports-highspeed was deprecated.
If someone use it, we need to notice information for it.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/host/dw_mmc.c

index 091df65..f8ac14a 100644 (file)
@@ -2696,8 +2696,10 @@ static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host)
                        return ERR_PTR(ret);
        }
 
-       if (of_find_property(np, "supports-highspeed", NULL))
+       if (of_find_property(np, "supports-highspeed", NULL)) {
+               dev_info(dev, "supports-highspeed property is deprecated.\n");
                pdata->caps |= MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED;
+       }
 
        return pdata;
 }