mirror of https://github.com/RT-Thread/rt-thread
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 <unicorn_wang@outlook.com>
This commit is contained in:
parent
2aebe694d9
commit
895b272b69
|
@ -14,10 +14,7 @@
|
||||||
#include <rtdevice.h>
|
#include <rtdevice.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @defgroup group_clk clk
|
* @addtogroup group_driver_clock
|
||||||
* @brief clk driver api
|
|
||||||
* @ingroup group_device_driver
|
|
||||||
* @addtogroup group_clk
|
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -18,10 +18,13 @@
|
||||||
#include <drivers/ofw.h>
|
#include <drivers/ofw.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @defgroup group_clk clk
|
* @defgroup group_driver_clock Clock
|
||||||
* @brief clk driver api
|
* @brief Clock driver API
|
||||||
* @ingroup group_device_driver
|
* @ingroup group_device_driver
|
||||||
* @addtogroup group_clk
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @addtogroup group_driver_clock
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue