summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2008-10-09 02:32:59 +0200
committerKumar Gala <galak@kernel.crashing.org>2008-10-13 18:48:24 +0200
commitc0da99d5f7b0349cb11f970b3283c0d57beb5ec9 (patch)
tree43c6bf5406b4f93ccb6fd7e1d47b3c1bafd6ebbe /drivers
parentpowerpc/83xx: add NAND support for the MPC8360E-RDK boards (diff)
downloadlinux-c0da99d5f7b0349cb11f970b3283c0d57beb5ec9.tar.xz
linux-c0da99d5f7b0349cb11f970b3283c0d57beb5ec9.zip
powerpc: fix fsl_upm nand driver modular build
The fsl_upm nand driver fails to build because fsl_lbc_lock isn't exported, the lock is needed by the inlined fsl_upm_run_pattern() function: ERROR: "fsl_lbc_lock" [drivers/mtd/nand/fsl_upm.ko] undefined! Dave Jones purposed to export the lock, but it is better to just uninline the fsl_upm_run_pattern(). When uninlined we also no longer need the exported fsl_lbc_regs, and both fsl_lbc_lock and fsl_lbc_regs could be marked static. While at it, also add some missing includes that we should have included explicitly. Reported-by: Dave Jones <davej@redhat.com> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions