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 091df65f78137513f35edca18ced0f753212e329..f8ac14a146936f16aa61311a8349a2062d0bb487 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;
 }