summaryrefslogtreecommitdiff
path: root/util/getpir/code_gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/getpir/code_gen.c')
-rw-r--r--util/getpir/code_gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/getpir/code_gen.c b/util/getpir/code_gen.c
index 81d6b2c9f9..96f2f3dad2 100644
--- a/util/getpir/code_gen.c
+++ b/util/getpir/code_gen.c
@@ -50,7 +50,7 @@ void code_gen(char *filename, struct irq_routing_table *rt)
fprintf(fpir, "%s", *code++);
fprintf(fpir, "\t32 + 16 * %d, /* Max. number of devices on the bus */\n",
- ts, ts);
+ ts);
fprintf(fpir, "\t0x%02x, /* Interrupt router bus */\n",
rt->rtr_bus);
fprintf(fpir, "\t(0x%02x << 3) | 0x%01x, /* Interrupt router dev */\n",