module.h: allow #define strings to work with MODULE_IMPORT_NS
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Jan 2022 14:06:57 +0000 (15:06 +0100)
committerLuis Chamberlain <mcgrof@kernel.org>
Wed, 12 Jan 2022 03:11:09 +0000 (19:11 -0800)
commitca321ec74322e3c49552fc1ffc80b42d0dbf1a84
tree2ecc35f14fbf8c3adf8c0ccf11e6b650037d60a2
parentb1ae6dc41eaaa98bb75671e0f3665bfda248c3e7
module.h: allow #define strings to work with MODULE_IMPORT_NS

The MODULE_IMPORT_NS() macro does not allow defined strings to work
properly with it, so add a layer of indirection to allow this to happen.

Cc: Luis Chamberlain <mcgrof@kernel.org>
Cc: Jessica Yu <jeyu@kernel.org>
Cc: Matthias Maennich <maennich@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Matthias Maennich <maennich@google.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
include/linux/module.h