diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-09-22 20:15:14 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-09-22 20:15:14 +0200 |
commit | 3e4d890a26d5411d0b64e5e8ecfdcdb435c1d3f8 (patch) | |
tree | e79f61062c6af8e70faf4330178f1c86f81fd86e /drivers/firmware | |
parent | Merge tag 'rtc-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni... (diff) | |
download | linux-3e4d890a26d5411d0b64e5e8ecfdcdb435c1d3f8.tar.xz linux-3e4d890a26d5411d0b64e5e8ecfdcdb435c1d3f8.zip |
modules: make MODULE_IMPORT_NS() work even when modular builds are disabled
It's an unusual configuration, and was apparently never tested, and not
caught in linux-next because of a combination of travels and it making
it into the tree too late.
The fix is to simply move the #define to outside the CONFIG_MODULE
section, since MODULE_INFO() will do the right thing.
Cc: Martijn Coenen <maco@android.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Matthias Maennich <maennich@google.com>
Cc: Jessica Yu <jeyu@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions