aboutsummaryrefslogtreecommitdiff
path: root/include/hw/misc
diff options
context:
space:
mode:
authorHao Wu <wuhaotsh@google.com>2025-02-19 10:46:01 -0800
committerPeter Maydell <peter.maydell@linaro.org>2025-02-20 15:22:22 +0000
commitc8283b0f4a7e9397da141d70e73e79341c5df2d7 (patch)
tree21f7872a93fb6cf140c9e8284ae47109cf87dbca /include/hw/misc
parentca2fd966ea90b2ca02a4eff1afc2b89e963680a1 (diff)
downloadqemu-c8283b0f4a7e9397da141d70e73e79341c5df2d7.zip
qemu-c8283b0f4a7e9397da141d70e73e79341c5df2d7.tar.gz
qemu-c8283b0f4a7e9397da141d70e73e79341c5df2d7.tar.bz2
hw/misc: Rename npcm7xx_clk to npcm_clk
NPCM7XX and NPCM8XX have a different set of CLK registers. This commit changes the name of the clk files to be used by both NPCM7XX and NPCM8XX CLK modules. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Hao Wu <wuhaotsh@google.com> Message-id: 20250219184609.1839281-11-wuhaotsh@google.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/misc')
-rw-r--r--include/hw/misc/npcm_clk.h (renamed from include/hw/misc/npcm7xx_clk.h)6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/hw/misc/npcm7xx_clk.h b/include/hw/misc/npcm_clk.h
index 5ed4a46..0aef81e 100644
--- a/include/hw/misc/npcm7xx_clk.h
+++ b/include/hw/misc/npcm_clk.h
@@ -13,8 +13,8 @@
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*/
-#ifndef NPCM7XX_CLK_H
-#define NPCM7XX_CLK_H
+#ifndef NPCM_CLK_H
+#define NPCM_CLK_H
#include "exec/memory.h"
#include "hw/clock.h"
@@ -177,4 +177,4 @@ struct NPCM7xxCLKState {
#define TYPE_NPCM7XX_CLK "npcm7xx-clk"
OBJECT_DECLARE_SIMPLE_TYPE(NPCM7xxCLKState, NPCM7XX_CLK)
-#endif /* NPCM7XX_CLK_H */
+#endif /* NPCM_CLK_H */