projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add few missing prototypes, and remove few unused (thus lonelly) variables.
[coreboot.git]
/
src
/
pc80
/
mc146818rtc.c
diff --git
a/src/pc80/mc146818rtc.c
b/src/pc80/mc146818rtc.c
index e851bdceb85589c32c1d88a99851d897f81217fb..fe3c13cd1d778e1a5b4ff79f0c070d621e2f05b0 100644
(file)
--- a/
src/pc80/mc146818rtc.c
+++ b/
src/pc80/mc146818rtc.c
@@
-133,8
+133,10
@@
static void rtc_set_checksum(int range_start, int range_end, int cks_loc)
void rtc_init(int invalid)
{
+#if CONFIG_HAVE_OPTION_TABLE
unsigned char x;
int cmos_invalid, checksum_invalid;
+#endif
printk_debug("RTC Init\n");