lkml.org 
[lkml]   [2011]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRE: [PATCH] fsl-rio: fix compile error
    Date
    From
    On Fri, Nov 11, 2011 at 8:48 AM Liu Gang <Gang.Liu@freescale.com> wrote:

    > Sent: Friday, November 11, 2011 8:48 AM
    > To: linuxppc-dev@lists.ozlabs.org; Bounine, Alexandre
    > Cc: akpm@linux-foundation.org; linux-kernel@vger.kernel.org;
    > paul.gortmaker@windriver.com; r58472@freescale.com;
    > B11780@freescale.com; r61911@freescale.com; Liu Gang
    > Subject: [PATCH] fsl-rio: fix compile error
    >
    > The "#include <linux/module.h>" was replaced by "#include
    > <linux/export.h>"
    > in the patch "powerpc: various straight conversions from module.h -->
    > export.h".
    > This will cause the following compile problem:
    > arch/powerpc/sysdev/fsl_rio.c: In function 'fsl_rio_mcheck_exception':
    > arch/powerpc/sysdev/fsl_rio.c:296: error: implicit declaration of
    > function 'search_exception_tables'.
    >
    > The file fsl_rio.c needs the declaration of function
    > "search_exception_tables"
    > in the header file "linux/module.h".
    >
    > Signed-off-by: Liu Gang <Gang.Liu@freescale.com>
    > ---
    > arch/powerpc/sysdev/fsl_rio.c | 2 +-
    > 1 files changed, 1 insertions(+), 1 deletions(-)
    >
    > diff --git a/arch/powerpc/sysdev/fsl_rio.c
    > b/arch/powerpc/sysdev/fsl_rio.c
    > index de170fd..22ffccd 100644
    > --- a/arch/powerpc/sysdev/fsl_rio.c
    > +++ b/arch/powerpc/sysdev/fsl_rio.c
    > @@ -23,7 +23,7 @@
    > */
    >
    > #include <linux/init.h>
    > -#include <linux/export.h>
    > +#include <linux/module.h>
    > #include <linux/types.h>
    > #include <linux/dma-mapping.h>
    > #include <linux/interrupt.h>
    > --
    > 1.7.3.1
    >


    Acked-by: Alexandre Bounine <alexandre.bounine@idt.com>



    \
     
     \ /
      Last update: 2011-11-11 17:53    [W:0.026 / U:60.284 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site