summaryrefslogtreecommitdiff
path: root/src/include/pc80
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-10-09 20:13:43 +0000
committerMyles Watson <mylesgw@gmail.com>2009-10-09 20:13:43 +0000
commit3fe6b7002bf8da7ecd91c2ab4e8bfdec4e80e02f (patch)
tree7db10b2b2dadc88350d747b746d899e119afcdb5 /src/include/pc80
parent42584096c30440ecef1c50322f2f39ccbc9e5230 (diff)
Add const to get rid of some warnings when passing quoted strings.
Remove an unused extern declaration. Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4756 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/pc80')
-rw-r--r--src/include/pc80/mc146818rtc.h4
1 files changed, 2 insertions, 2 deletions
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