riscv: sifive_u: Fix clock-names property for ethernet node
commit04ece4f8205b19b31c4c6ebc481c9653c7fadd39
authorGuenter Roeck <linux@roeck-us.net>
Fri, 19 Jul 2019 13:40:45 +0000 (19 06:40 -0700)
committerPalmer Dabbelt <palmer@sifive.com>
Tue, 17 Sep 2019 15:42:42 +0000 (17 08:42 -0700)
tree3d6d3fadb30350c295e038fab94d1046e5d906ec
parent44e6dcd30a10e5b5d70cbf1bc248b146eabcec03
riscv: sifive_u: Fix clock-names property for ethernet node

The correct property name is clock-names, not clocks-names.

Without this patch, the Ethernet driver fails to instantiate with
the following error.

macb 100900fc.ethernet: failed to get macb_clk (-2)
macb: probe of 100900fc.ethernet failed with error -2

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
hw/riscv/sifive_u.c