5a87e0020d
The einj_driver driver is registered using platform_driver_probe(). In
this case it cannot get unbound via sysfs and it's ok to put the remove
callback into an exit section. To prevent the modpost warning about
einj_driver referencing .exit.text, mark the driver struct with
__refdata and explain the situation in a comment.
This is an improvement over commit
|
||
---|---|---|
.. | ||
apei-base.c | ||
apei-internal.h | ||
bert.c | ||
einj-core.c | ||
einj-cxl.c | ||
erst-dbg.c | ||
erst.c | ||
ghes.c | ||
hest.c | ||
Kconfig | ||
Makefile |