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/sunxi/clk-sun4i-tcon-ch1.c | 14 +++----------- 1 files changed, 3 insertions(+), 11 deletions(-) diff --git a/kernel/drivers/clk/sunxi/clk-sun4i-tcon-ch1.c b/kernel/drivers/clk/sunxi/clk-sun4i-tcon-ch1.c index b637394..277a240 100644 --- a/kernel/drivers/clk/sunxi/clk-sun4i-tcon-ch1.c +++ b/kernel/drivers/clk/sunxi/clk-sun4i-tcon-ch1.c @@ -1,20 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2015 Maxime Ripard * * Maxime Ripard <maxime.ripard@free-electrons.com> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. */ #include <linux/clk-provider.h> +#include <linux/io.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/slab.h> @@ -233,7 +225,7 @@ { const char *parents[TCON_CH1_SCLK2_PARENTS]; const char *clk_name = node->name; - struct clk_init_data init = {}; + struct clk_init_data init; struct tcon_ch1_clk *tclk; struct resource res; struct clk *clk; -- Gitblit v1.6.2