cxgb4 : Fix missing initialization of win0_lock
[cascardo/linux.git] / drivers / rtc / rtc-hym8563.c
index e5f13c4..b936bb4 100644 (file)
@@ -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);
 
@@ -585,7 +588,7 @@ static const struct i2c_device_id hym8563_id[] = {
 };
 MODULE_DEVICE_TABLE(i2c, hym8563_id);
 
-static struct of_device_id hym8563_dt_idtable[] = {
+static const struct of_device_id hym8563_dt_idtable[] = {
        { .compatible = "haoyu,hym8563" },
        {},
 };