diff mbox series

[3/4] hw/timer/hpet: Have hpet_find() return an Object

Message ID 20241206191124.9195-4-philmd@linaro.org
State New
Headers show
Series hw/timer/hpet: Make fw_cfg state private to HPET class | expand

Commit Message

Philippe Mathieu-Daudé Dec. 6, 2024, 7:11 p.m. UTC
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 include/hw/timer/hpet.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/include/hw/timer/hpet.h b/include/hw/timer/hpet.h
index 2a95799a679..d11cdff0347 100644
--- a/include/hw/timer/hpet.h
+++ b/include/hw/timer/hpet.h
@@ -64,7 +64,7 @@ 
 
 #define HPET_INTCAP "hpet-intcap"
 
-static inline bool hpet_find(void)
+static inline Object *hpet_find(void)
 {
     return object_resolve_path_type("", TYPE_HPET, NULL);
 }