diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2008-06-06 18:59:40 +0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2008-06-07 08:36:19 +0100 |
commit | aa83570e23e626fe8dd1253f17e6d175507025f1 (patch) | |
tree | 7ab55a0290265e5d4e6213613d14dac745dbc213 /drivers/mtd/devices | |
parent | 4474573a90bae41351fad576fa80c424d62be567 (diff) |
[MTD] [NAND] fsl_elbc_nand: fix section mismatch between probe and remove
WARNING: drivers/mtd/nand/built-in.o(.devinit.text+0x114): Section mismatch
in reference from the function fsl_elbc_ctrl_probe() to the function
.devexit.text:fsl_elbc_ctrl_remove()
__devinit functions should not call functions with __devexit. Since probe
function calls remove in case of errors, we want to remove __devexit
attribute from it.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/devices')
0 files changed, 0 insertions, 0 deletions