summaryrefslogtreecommitdiff
path: root/kernel/drivers/pit.c
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-11-28 20:11:05 +0100
committerAnton Kling <anton@kling.gg>2023-11-28 20:12:20 +0100
commitd07fa25e04a19ccb9aa25bb6e2156d23d213db77 (patch)
tree25f2e4a6301f3ad7c5b158e74966a394862fdf39 /kernel/drivers/pit.c
parent636858dbbd48ed9f5073793b46740302aa202f43 (diff)
Meta: Apply new clang-format rules to kernel
Diffstat (limited to 'kernel/drivers/pit.c')
-rw-r--r--kernel/drivers/pit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/drivers/pit.c b/kernel/drivers/pit.c
index f29b3f8..567ac2d 100644
--- a/kernel/drivers/pit.c
+++ b/kernel/drivers/pit.c
@@ -7,7 +7,9 @@ u64 clock_num_ms_ticks = 0;
u64 pit_counter = 0;
u16 hertz;
-u64 pit_num_ms(void) { return clock_num_ms_ticks; }
+u64 pit_num_ms(void) {
+ return clock_num_ms_ticks;
+}
u16 read_pit_count(void) {
u16 count = 0;