diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2013-06-12 20:45:53 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-06-20 10:20:44 -0400 |
commit | 27f62b9f294b7e2019c94c385abda43a0af6bb8b (patch) | |
tree | edb2755fa0b2f20dacf98f896e8f7468936998ea /drivers/rapidio/switches | |
parent | 68651ff6373421fff7452a0fdeed589801a26b6d (diff) |
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 <ralf@linux-mips.org>
Acked-by: Alexandre Bounine <alexandre.bounine@idt.com>
Diffstat (limited to 'drivers/rapidio/switches')
-rw-r--r-- | drivers/rapidio/switches/idt_gen2.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ | |||
15 | #include <linux/rio_drv.h> | 15 | #include <linux/rio_drv.h> |
16 | #include <linux/rio_ids.h> | 16 | #include <linux/rio_ids.h> |
17 | #include <linux/delay.h> | 17 | #include <linux/delay.h> |
18 | |||
19 | #include <asm/page.h> | ||
18 | #include "../rio.h" | 20 | #include "../rio.h" |
19 | 21 | ||
20 | #define LOCAL_RTE_CONF_DESTID_SEL 0x010070 | 22 | #define LOCAL_RTE_CONF_DESTID_SEL 0x010070 |