From e636c8d336489bf3eed5878299e6cc045bbad077 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 20 Feb 2024 01:17:29 +0000
Subject: [PATCH] debug lk
---
kernel/drivers/clk/uniphier/clk-uniphier-fixed-rate.c | 14 +++-----------
1 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/kernel/drivers/clk/uniphier/clk-uniphier-fixed-rate.c b/kernel/drivers/clk/uniphier/clk-uniphier-fixed-rate.c
index beb2135..3bc55ab 100644
--- a/kernel/drivers/clk/uniphier/clk-uniphier-fixed-rate.c
+++ b/kernel/drivers/clk/uniphier/clk-uniphier-fixed-rate.c
@@ -1,16 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (C) 2016 Socionext Inc.
* Author: Masahiro Yamada <yamada.masahiro@socionext.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>
@@ -23,7 +14,7 @@
const struct uniphier_clk_fixed_rate_data *data)
{
struct clk_fixed_rate *fixed;
- struct clk_init_data init = {};
+ struct clk_init_data init;
int ret;
/* allocate fixed-rate clock */
@@ -33,6 +24,7 @@
init.name = name;
init.ops = &clk_fixed_rate_ops;
+ init.flags = 0;
init.parent_names = NULL;
init.num_parents = 0;
--
Gitblit v1.6.2