From 3fe6b7002bf8da7ecd91c2ab4e8bfdec4e80e02f Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Fri, 9 Oct 2009 20:13:43 +0000 Subject: Add const to get rid of some warnings when passing quoted strings. Remove an unused extern declaration. Signed-off-by: Myles Watson Acked-by: Ronald G. Minnich git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4756 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/include/pc80/mc146818rtc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include/pc80/mc146818rtc.h') diff --git a/src/include/pc80/mc146818rtc.h b/src/include/pc80/mc146818rtc.h index d510bd2d22..1561e4e811 100644 --- a/src/include/pc80/mc146818rtc.h +++ b/src/include/pc80/mc146818rtc.h @@ -95,9 +95,9 @@ #if !defined(ASSEMBLY) void rtc_init(int invalid); #if CONFIG_USE_OPTION_TABLE == 1 -int get_option(void *dest, char *name); +int get_option(void *dest, const char *name); #else -static inline int get_option(void *dest, char *name) { return -2; } +static inline int get_option(void *dest, const char *name) { return -2; } #endif #endif -- cgit v1.2.3