From a5969cabbb4660eab42b6ef0412cbbd1200cf14d Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Sat, 12 Oct 2024 07:10:09 +0000
Subject: [PATCH] 修改led为gpio

---
 kernel/Documentation/driver-api/clk.rst |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/kernel/Documentation/driver-api/clk.rst b/kernel/Documentation/driver-api/clk.rst
index 593cca5..3cad45d 100644
--- a/kernel/Documentation/driver-api/clk.rst
+++ b/kernel/Documentation/driver-api/clk.rst
@@ -175,9 +175,9 @@
 To take advantage of your data you'll need to support valid operations
 for your clk::
 
-	struct clk_ops clk_foo_ops {
-		.enable		= &clk_foo_enable;
-		.disable	= &clk_foo_disable;
+	struct clk_ops clk_foo_ops = {
+		.enable		= &clk_foo_enable,
+		.disable	= &clk_foo_disable,
 	};
 
 Implement the above functions using container_of::

--
Gitblit v1.6.2