diff options
| author | Mike Frysinger <[email protected]> | 2011-05-09 14:07:58 +0000 |
|---|---|---|
| committer | David Woodhouse <[email protected]> | 2011-05-25 01:02:57 +0000 |
| commit | 61cc8276fa776ced06b0e5b67b57e12c4997d388 (patch) | |
| tree | dd3e7e763e1f34f592decf3b6e75135c040edf45 /drivers/mtd/lpddr/lpddr_cmds.c | |
| parent | mtd: m25p80: Add Spansion S25FL512S, S70FL01GS (diff) | |
| download | kernel-61cc8276fa776ced06b0e5b67b57e12c4997d388.tar.gz kernel-61cc8276fa776ced06b0e5b67b57e12c4997d388.zip | |
mtd: sst25l: fix section markings
The previous section mismatch fix for this driver wasn't entirely correct.
The sst25l_flash_info array is now used in the devinit probe func, but is
marked as initdata, so building results in the warning:
WARNING: drivers/mtd/devices/sst25l.o(.devinit.text): Section mismatch
in reference from the function sst25l_probe()
to the variable .init.data:sst25l_flash_info
Further, the remove func should be devexit rather than exit to match the
probe func.
Signed-off-by: Mike Frysinger <[email protected]>
Signed-off-by: Artem Bityutskiy <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions
