From: Ralf Baechle Date: Thu, 13 Jun 2013 00:45:53 +0000 (+0200) Subject: RAPIDIO: IDT_GEN2: Fix build error. X-Git-Tag: next-20130619~105^2^2~21 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e07126dfa9788aaa4294010d937be0ddf3ff50e5;p=karo-tx-linux.git RAPIDIO: IDT_GEN2: Fix build error. CC drivers/rapidio/switches/idt_gen2.o drivers/rapidio/switches/idt_gen2.c: In function ‘idtg2_show_errlog’: drivers/rapidio/switches/idt_gen2.c:379:30: error: ‘PAGE_SIZE’ undeclared (first use in this function) drivers/rapidio/switches/idt_gen2.c:379:30: note: each undeclared identifier is reported only once for each function it appears in Signed-off-by: Ralf Baechle Acked-by: Alexandre Bounine --- diff --git a/drivers/rapidio/switches/idt_gen2.c b/drivers/rapidio/switches/idt_gen2.c index 809b7a3336ba..5d3b0f014d35 100644 --- a/drivers/rapidio/switches/idt_gen2.c +++ b/drivers/rapidio/switches/idt_gen2.c @@ -15,6 +15,8 @@ #include #include #include + +#include #include "../rio.h" #define LOCAL_RTE_CONF_DESTID_SEL 0x010070