summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorChen Wang <[email protected]>2025-07-22 15:46:21 +0800
committerRbb666 <[email protected]>2025-07-22 16:00:33 +0800
commit895b272b69deee7239176fcdba3dba8083e37acb (patch)
tree11c87b1dc36820152e7a3a1fed3b10311ae6b906 /components
parent2aebe694d9a6987a9721f4ccbb4549e4520622a3 (diff)
doxygen: fix duplicated defgroup for clock
Problen: Duplicated definition of group_clk in clk.c and clk.h. Solution: Delete the definition in clk.c and keep only the definition in clk.h. Also change the name of group_clk to group_driver_clock to conform to the naming convention of other driver groups. Signed-off-by: Chen Wang <[email protected]>
Diffstat (limited to 'components')
-rw-r--r--components/drivers/clk/clk.c5
-rw-r--r--components/drivers/include/drivers/clk.h9
2 files changed, 7 insertions, 7 deletions
diff --git a/components/drivers/clk/clk.c b/components/drivers/clk/clk.c
index 7b059aea59..2c2cc2fb42 100644
--- a/components/drivers/clk/clk.c
+++ b/components/drivers/clk/clk.c
@@ -14,10 +14,7 @@
#include <rtdevice.h>
/**
- * @defgroup group_clk clk
- * @brief clk driver api
- * @ingroup group_device_driver
- * @addtogroup group_clk
+ * @addtogroup group_driver_clock
* @{
*/
diff --git a/components/drivers/include/drivers/clk.h b/components/drivers/include/drivers/clk.h
index 51e7a92431..26da4d8720 100644
--- a/components/drivers/include/drivers/clk.h
+++ b/components/drivers/include/drivers/clk.h
@@ -18,10 +18,13 @@
#include <drivers/ofw.h>
/**
- * @defgroup group_clk clk
- * @brief clk driver api
+ * @defgroup group_driver_clock Clock
+ * @brief Clock driver API
* @ingroup group_device_driver
- * @addtogroup group_clk
+ */
+
+/**
+ * @addtogroup group_driver_clock
* @{
*/