summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-06-13 02:45:53 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-28 16:30:07 -0700
commitdf18f5f93ce9ed27bd9a779196614afd7a0aa017 (patch)
treedee190c45eee2500cd246f656274871b67f483ee
parentcf6a37e7da73702e865a02f03664fc0e2c4a2b3f (diff)
downloadlinux-3.10-df18f5f93ce9ed27bd9a779196614afd7a0aa017.tar.gz
linux-3.10-df18f5f93ce9ed27bd9a779196614afd7a0aa017.tar.bz2
linux-3.10-df18f5f93ce9ed27bd9a779196614afd7a0aa017.zip
RAPIDIO: IDT_GEN2: Fix build error.
commit 27f62b9f294b7e2019c94c385abda43a0af6bb8b upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/rapidio/switches/idt_gen2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/rapidio/switches/idt_gen2.c b/drivers/rapidio/switches/idt_gen2.c
index 809b7a3336b..5d3b0f014d3 100644
--- a/drivers/rapidio/switches/idt_gen2.c
+++ b/drivers/rapidio/switches/idt_gen2.c
@@ -15,6 +15,8 @@
#include <linux/rio_drv.h>
#include <linux/rio_ids.h>
#include <linux/delay.h>
+
+#include <asm/page.h>
#include "../rio.h"
#define LOCAL_RTE_CONF_DESTID_SEL 0x010070