lkml.org 
[lkml]   [2013]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[061/251] RAPIDIO: IDT_GEN2: Fix build error.
    3.6.11.9-rc1 stable review patch.
    If anyone has any objections, please let me know.

    ------------------

    From: Ralf Baechle <ralf@linux-mips.org>

    [ Upstream commit 27f62b9f294b7e2019c94c385abda43a0af6bb8b ]

    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: Steven Rostedt <rostedt@goodmis.org>
    ---
    drivers/rapidio/switches/idt_gen2.c | 2 ++
    1 file changed, 2 insertions(+)

    diff --git a/drivers/rapidio/switches/idt_gen2.c b/drivers/rapidio/switches/idt_gen2.c
    index 809b7a3..5d3b0f0 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
    --
    1.7.10.4

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2013-09-11 09:21    [W:4.104 / U:0.148 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site