[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1321019308-7785-1-git-send-email-Gang.Liu@freescale.com>
Date: Fri, 11 Nov 2011 21:48:28 +0800
From: Liu Gang <Gang.Liu@...escale.com>
To: <linuxppc-dev@...ts.ozlabs.org>, <Alexandre.Bounine@....com>
CC: <akpm@...ux-foundation.org>, <linux-kernel@...r.kernel.org>,
<paul.gortmaker@...driver.com>, <r58472@...escale.com>,
<B11780@...escale.com>, <r61911@...escale.com>,
Liu Gang <Gang.Liu@...escale.com>
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@...escale.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists