From 564547f2838599788d4b4873695394c9be61cf09 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Wed, 2 May 2018 10:27:36 +0530 Subject: src/device: Fix discarded-qualifiers compilation issue coreboot build is broken due to CL: I6830a65bc9cea2907f4209bb97a53ccebcbf248d This patch ensures to build coreboot successfully. Change-Id: I4c9dfc9b19ce159ce1abcfbb287be4ce273cbaf1 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/25985 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh Reviewed-by: Patrick Georgi --- src/include/console/console.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include/console') diff --git a/src/include/console/console.h b/src/include/console/console.h index 1ecf89c288..535401f7db 100644 --- a/src/include/console/console.h +++ b/src/include/console/console.h @@ -31,7 +31,7 @@ void post_code(u8 value); #if IS_ENABLED(CONFIG_CMOS_POST_EXTRA) void post_log_extra(u32 value); struct device; -void post_log_path(struct device *dev); +void post_log_path(const struct device *dev); void post_log_clear(void); #else #define post_log_extra(x) do {} while (0) -- cgit v1.2.3