projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers/rtc/rtc-hym8563.c: add optional clock-output-names property
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
rtc
/
rtc-hym8563.c
diff --git
a/drivers/rtc/rtc-hym8563.c
b/drivers/rtc/rtc-hym8563.c
index e3290abbb03e75fa97d9a1b1d2aac4b0786953e0..b936bb4096b5003900987b41d19e7d3c147f802a 100644
(file)
--- a/
drivers/rtc/rtc-hym8563.c
+++ b/
drivers/rtc/rtc-hym8563.c
@@
-418,6
+418,9
@@
static struct clk *hym8563_clkout_register_clk(struct hym8563 *hym8563)
init.num_parents = 0;
hym8563->clkout_hw.init = &init;
+ /* optional override of the clockname */
+ of_property_read_string(node, "clock-output-names", &init.name);
+
/* register the clock */
clk = clk_register(&client->dev, &hym8563->clkout_hw);