1
0
Fork 0

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>
hifive-unleashed-5.1
Liu Gang 2011-11-11 21:48:28 +08:00 committed by Paul Gortmaker
parent 1ea6b8f489
commit e0ce42e19c
1 changed files with 1 additions and 1 deletions

View File

@ -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>