[PATCH 1/8] hrtimer: Rename hrtimer_defs.h to hrtimer_bases.h
From: Thomas Weißschuh (Schneider Electric)
Date: Thu Jul 02 2026 - 06:08:58 EST
This header was originally added for #defines and was later extended
with the hrtimer base structures. All the #defines have been removed
in the meantime, so the naming is off now.
Rename the header to fit its contents more.
This will also make the upcoming addition of some functions nicer.
Signed-off-by: Thomas Weißschuh (Schneider Electric) <thomas.weissschuh@xxxxxxxxxxxxx>
---
include/linux/hrtimer.h | 2 +-
include/linux/{hrtimer_defs.h => hrtimer_bases.h} | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h
index 6862dea0acc5..8aa58520a816 100644
--- a/include/linux/hrtimer.h
+++ b/include/linux/hrtimer.h
@@ -12,7 +12,7 @@
#ifndef _LINUX_HRTIMER_H
#define _LINUX_HRTIMER_H
-#include <linux/hrtimer_defs.h>
+#include <linux/hrtimer_bases.h>
#include <linux/hrtimer_rearm.h>
#include <linux/hrtimer_types.h>
#include <linux/init.h>
diff --git a/include/linux/hrtimer_defs.h b/include/linux/hrtimer_bases.h
similarity index 98%
rename from include/linux/hrtimer_defs.h
rename to include/linux/hrtimer_bases.h
index 52ed9e46ff13..8c10f45dc469 100644
--- a/include/linux/hrtimer_defs.h
+++ b/include/linux/hrtimer_bases.h
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef _LINUX_HRTIMER_DEFS_H
-#define _LINUX_HRTIMER_DEFS_H
+#ifndef _LINUX_HRTIMER_BASES_H
+#define _LINUX_HRTIMER_BASES_H
#include <linux/ktime.h>
#include <linux/timerqueue.h>
--
2.55.0