diff options
| author | 2018-06-27 22:47:44 +0200 | |
|---|---|---|
| committer | 2018-07-18 09:24:13 +0200 | |
| commit | 24f0ae995deb728076e3ea93fea1949a9775debf (patch) | |
| tree | 28a03d5afa3a8a684c07f82e8841b24976abcfd1 /scripts | |
| parent | mtd: spinand: macronix: Add support for MX35LF2GE4AB (diff) | |
mtd: rawnand: mxc: remove __init qualifier from mxcnd_probe_dt
Using the sysfs unbind, bind nodes, mxcnd_probe and mxcnd_probe_dt can
potentially be called at any time. After the __init functions are cleaned,
mxcnd_probe_dt is no longer available. Calling it anyway causes a crash.
mxcnd_probe used to be marked as __init, this was removed years ago.
Remove the __init qualifier from from mxcnd_probe_dt as well.
Fixes: 06f255106923 ("mtd: remove use of __devinit")
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
