fix minor warnings in RTC code when HAVE_OPTION_TABLE is disabled.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5246 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer
2010-03-17 03:44:45 +00:00
committed by Stefan Reinauer
parent 5c32d242e4
commit 2549d52c04
2 changed files with 4 additions and 0 deletions

View File

@@ -185,6 +185,7 @@ static struct lb_mainboard *lb_mainboard(struct lb_header *header)
return mainboard;
}
#if (CONFIG_HAVE_OPTION_TABLE == 1)
static struct cmos_checksum *lb_cmos_checksum(struct lb_header *header)
{
struct lb_record *rec;
@@ -202,6 +203,7 @@ static struct cmos_checksum *lb_cmos_checksum(struct lb_header *header)
return cmos_checksum;
}
#endif
static void lb_strings(struct lb_header *header)
{