mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
clk: ast2600: Staticize and constify driver ops
Set the ops structure as static const. The structure is not accessible from outside of this driver and is not going to be modified at runtime. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
This commit is contained in:
@@ -1161,7 +1161,7 @@ static void ast2600_clk_dump(struct udevice *dev)
|
||||
}
|
||||
#endif
|
||||
|
||||
struct clk_ops ast2600_clk_ops = {
|
||||
static const struct clk_ops ast2600_clk_ops = {
|
||||
.get_rate = ast2600_clk_get_rate,
|
||||
.set_rate = ast2600_clk_set_rate,
|
||||
.enable = ast2600_clk_enable,
|
||||
|
||||
Reference in New Issue
Block a user