summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pmbus/tps40422.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/tps40422.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/tps40422.c')
-rw-r--r--drivers/hwmon/pmbus/tps40422.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/pmbus/tps40422.c b/drivers/hwmon/pmbus/tps40422.c
index f7f00ab6f46c..31bb83c0ef3e 100644
--- a/drivers/hwmon/pmbus/tps40422.c
+++ b/drivers/hwmon/pmbus/tps40422.c
@@ -51,3 +51,4 @@ module_i2c_driver(tps40422_driver);
MODULE_AUTHOR("Zhu Laiwen <richard.zhu@nsn.com>");
MODULE_DESCRIPTION("PMBus driver for TI TPS40422");
MODULE_LICENSE("GPL");
+MODULE_IMPORT_NS(PMBUS);