1. 15 Nov, 2011 38 commits
  2. 14 Nov, 2011 2 commits
    • Liu Gang's avatar
      fsl-rio: fix compile error · e0ce42e1
      Liu Gang authored
      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: default avatarLiu Gang <Gang.Liu@freescale.com>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      e0ce42e1
    • Lars-Peter Clausen's avatar
      blackfin: Fixup export.h includes · 90590543
      Lars-Peter Clausen authored
      Commit 8dc7a9c8 ("blackfin: Add export.h to files using
      EXPORT_SYMBOL/THIS_MODULE") inserted some of the include statements into
      sections protected by an unrelated #if CONFIG_... statement. This can cause,
      depending on the configuration used, warnings like this one:
      
      	arch/blackfin/mach-bf537/boards/stamp.c:2940: warning: data definition has no type or storage class
      	arch/blackfin/mach-bf537/boards/stamp.c:2940: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
      	arch/blackfin/mach-bf537/boards/stamp.c:2940: warning: parameter names (without types) in function declaration
      
      This patch fixes it by moving the includes out of the #if protected sections.
      Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
      Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
      Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
      90590543