Commit df18f5f9 authored by Ralf Baechle's avatar Ralf Baechle Committed by Greg Kroah-Hartman

RAPIDIO: IDT_GEN2: Fix build error.

commit 27f62b9f 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: default avatarRalf Baechle <ralf@linux-mips.org>
Acked-by: default avatarAlexandre Bounine <alexandre.bounine@idt.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cf6a37e7
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
#include <linux/rio_drv.h> #include <linux/rio_drv.h>
#include <linux/rio_ids.h> #include <linux/rio_ids.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <asm/page.h>
#include "../rio.h" #include "../rio.h"
#define LOCAL_RTE_CONF_DESTID_SEL 0x010070 #define LOCAL_RTE_CONF_DESTID_SEL 0x010070
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment