OSDN Git Service

clk: apn806: Turn the eMMC clock as optional for dts backwards compatible
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 30 Mar 2017 15:22:54 +0000 (17:22 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:42:13 +0000 (21:42 +0200)
commitb92a3bcc7c3ca4ee8d228f033de32aefff3c74a4
tree35edcf6bb9e9533a1e2e9c1ddd4606728fcf5ddb
parenta8309cedcdce94fc6e36d49d0bf8e75d5813ebc6
clk: apn806: Turn the eMMC clock as optional for dts backwards compatible

First version of the binding didn't have the eMMC clock. This patch
allows to not registering the eMMC clock if it is not present in the
device tree. Then the device tree can be backwards compatible.

Suggested-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/clk/mvebu/ap806-system-controller.c