summary refs log tree commit diff
path: root/arch
diff options
context:
space:
mode:
authorLiu Gang <Gang.Liu@freescale.com>2011-11-11 21:48:28 +0800
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-14 12:43:17 -0500
commite0ce42e19ce1978a5aee33b2954d7e1a730e88c4 (patch)
tree232677de4d94be60d5494ee8a417de8b6f9cd7b9 /arch
parent1ea6b8f48918282bdca0b32a34095504ee65bab5 (diff)
downloadlinux-e0ce42e19ce1978a5aee33b2954d7e1a730e88c4.tar.gz
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>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/sysdev/fsl_rio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/sysdev/fsl_rio.c
index de170fd5ba4e..22ffccd8bef5 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>