From 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 07:44:59 +0000
Subject: [PATCH] gmac get mac form eeprom

---
 kernel/drivers/clk/ti/adpll.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/kernel/drivers/clk/ti/adpll.c b/kernel/drivers/clk/ti/adpll.c
index 878ca05..bb2f283 100644
--- a/kernel/drivers/clk/ti/adpll.c
+++ b/kernel/drivers/clk/ti/adpll.c
@@ -14,6 +14,7 @@
 #include <linux/clk-provider.h>
 #include <linux/delay.h>
 #include <linux/err.h>
+#include <linux/io.h>
 #include <linux/math64.h>
 #include <linux/module.h>
 #include <linux/of_device.h>
@@ -489,7 +490,7 @@
 
 static int ti_adpll_init_dco(struct ti_adpll_data *d)
 {
-	struct clk_init_data init = {};
+	struct clk_init_data init;
 	struct clk *clock;
 	const char *postfix;
 	int width, err;
@@ -582,7 +583,7 @@
 				struct clk *clk1)
 {
 	struct ti_adpll_clkout_data *co;
-	struct clk_init_data init = {};
+	struct clk_init_data init;
 	struct clk_ops *ops;
 	const char *parent_names[2];
 	const char *child_name;
@@ -607,7 +608,7 @@
 
 	init.name = child_name;
 	init.ops = ops;
-	init.flags = CLK_IS_BASIC;
+	init.flags = 0;
 	co->hw.init = &init;
 	parent_names[0] = __clk_get_name(clk0);
 	parent_names[1] = __clk_get_name(clk1);

--
Gitblit v1.6.2