summaryrefslogtreecommitdiff
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-12-03 19:21:07 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-08 09:57:05 +0100
commit889433a2ed5aa5308cbbc6fec6872e020c294d64 (patch)
tree599191228b0c8ffc9d226116038f2fe1c788819c /drivers/hwmon
parentfa4eada0ab4831a533a8612bb6159cfa23fd4112 (diff)
downloadlinux-889433a2ed5aa5308cbbc6fec6872e020c294d64.tar.gz
linux-889433a2ed5aa5308cbbc6fec6872e020c294d64.tar.bz2
linux-889433a2ed5aa5308cbbc6fec6872e020c294d64.zip
module: Convert default symbol namespace to string literal
[ Upstream commit ceb8bf2ceaa77fe222fe8fe32cb7789c9099ddf1 ] Commit cdd30ebb1b9f ("module: Convert symbol namespace to string literal") only converted MODULE_IMPORT_NS() and EXPORT_SYMBOL_NS(), leaving DEFAULT_SYMBOL_NAMESPACE as a macro expansion. This commit converts DEFAULT_SYMBOL_NAMESPACE in the same way to avoid annoyance for the default namespace as well. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Stable-dep-of: 2505f87eb3af ("hwmon: (nct6775): Actually make use of the HWMON_NCT6775 symbol namespace") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/nct6775-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/nct6775-core.c b/drivers/hwmon/nct6775-core.c
index ee04795b98aa..c243b51837d2 100644
--- a/drivers/hwmon/nct6775-core.c
+++ b/drivers/hwmon/nct6775-core.c
@@ -57,7 +57,7 @@
#include "nct6775.h"
#undef DEFAULT_SYMBOL_NAMESPACE
-#define DEFAULT_SYMBOL_NAMESPACE HWMON_NCT6775
+#define DEFAULT_SYMBOL_NAMESPACE "HWMON_NCT6775"
#define USE_ALTERNATE