Make the getpir output compile (Closes #70).
Signed-off-by: Jon Dufresne <jon.dufresne@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3189 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/util/getpir/code_gen.c b/util/getpir/code_gen.c
index cc7944ef..c18e63e 100644
--- a/util/getpir/code_gen.c
+++ b/util/getpir/code_gen.c
@@ -66,5 +66,10 @@
fprintf(fpir, "\t}\n");
fprintf(fpir, "};\n");
+ fprintf(fpir, "\nunsigned long write_pirq_routing_table(unsigned long addr)\n");
+ fprintf(fpir, "{\n");
+ fprintf(fpir, "\treturn copy_pirq_routing_table(addr);\n");
+ fprintf(fpir, "}\n");
+
fclose(fpir);
}