]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
x86: Correct the typo in write_tables()
authorBin Meng <bmeng.cn@gmail.com>
Tue, 28 Apr 2015 10:37:03 +0000 (18:37 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:35:15 +0000 (22:35 +0200)
It should be #ifdef instead of #if.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/lib/tables.c

index b390a4b38199d391ea77d329e2b687150036cee4..0836e1e42686863d7cf2b5ef61351d9d9c0dd2cf 100644 (file)
@@ -23,7 +23,7 @@ void write_tables(void)
 {
        u32 __maybe_unused rom_table_end = ROM_TABLE_ADDR;
 
-#if CONFIG_GENERATE_PIRQ_TABLE
+#ifdef CONFIG_GENERATE_PIRQ_TABLE
        rom_table_end = write_pirq_routing_table(rom_table_end);
        rom_table_end = ALIGN(rom_table_end, 1024);
 #endif