summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pmbus/max15301.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2021-04-20 08:07:07 +0200
committerGuenter Roeck <linux@roeck-us.net>2021-04-20 15:50:14 +0200
commitb94ca77eeae79258bc7497ebe47bb5c085acf002 (patch)
treea5673b426fa85ba079d0c8baa04c7022c5081caa /drivers/hwmon/pmbus/max15301.c
parenthwmon: (pmbus) Add pmbus driver for MAX15301 (diff)
downloadlinux-b94ca77eeae79258bc7497ebe47bb5c085acf002.tar.xz
linux-b94ca77eeae79258bc7497ebe47bb5c085acf002.zip
hwmon: (pmbus) Introduce PMBUS symbol namespace
Exported pmbus symbols are only supposed to be used from PMBus code. Introduce PMBUS symbol namespace to prevent misuse from other code. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/pmbus/max15301.c')
-rw-r--r--drivers/hwmon/pmbus/max15301.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/pmbus/max15301.c b/drivers/hwmon/pmbus/max15301.c
index 727455e5740b..0b6f88428ea8 100644
--- a/drivers/hwmon/pmbus/max15301.c
+++ b/drivers/hwmon/pmbus/max15301.c
@@ -187,3 +187,4 @@ module_i2c_driver(max15301_driver);
MODULE_AUTHOR("Erik Rosen <erik.rosen@metormote.com>");
MODULE_DESCRIPTION("PMBus driver for Maxim MAX15301");
MODULE_LICENSE("GPL");
+MODULE_IMPORT_NS(PMBUS);