From: Jaehoon Chung Date: Thu, 6 Aug 2015 07:23:26 +0000 (+0900) Subject: mmc: dw_mmc: print the message for deprecated property X-Git-Tag: v5.15~15113^2~45 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40a7a463a80ae9e3b85a9fd85cf704fb9ac28b6f;p=platform%2Fkernel%2Flinux-starfive.git mmc: dw_mmc: print the message for deprecated property supports-highspeed was deprecated. If someone use it, we need to notice information for it. Signed-off-by: Jaehoon Chung --- diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 091df65..f8ac14a 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -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; }