summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/intel-lpss-pci.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-11-24 21:31:27 +0200
committerLee Jones <lee@kernel.org>2023-12-07 13:50:29 +0000
commit24ee97a9e816a333688141eed2fbbb2d5e60b5d1 (patch)
tree382e05ccc1650932f265e139e563b7fd9eb4b6d6 /drivers/mfd/intel-lpss-pci.c
parenta936a91718fabe9e1c8e2da4265f5088f8e300de (diff)
downloadlinux-24ee97a9e816a333688141eed2fbbb2d5e60b5d1.tar.gz
linux-24ee97a9e816a333688141eed2fbbb2d5e60b5d1.tar.bz2
linux-24ee97a9e816a333688141eed2fbbb2d5e60b5d1.zip
mfd: intel-lpss: Move exported symbols to INTEL_LPSS namespace
Avoid unnecessary pollution of the global symbol namespace by moving library functions in to a specific namespace and import that into the drivers that make use of the functions. For more info: https://lwn.net/Articles/760045/ Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20231124200258.3682979-5-andriy.shevchenko@linux.intel.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/mfd/intel-lpss-pci.c')
-rw-r--r--drivers/mfd/intel-lpss-pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/intel-lpss-pci.c b/drivers/mfd/intel-lpss-pci.c
index bc15379afe3b..e1d89423daa6 100644
--- a/drivers/mfd/intel-lpss-pci.c
+++ b/drivers/mfd/intel-lpss-pci.c
@@ -603,3 +603,4 @@ MODULE_AUTHOR("Andy Shevchenko <andriy.shevchenko@linux.intel.com>");
MODULE_AUTHOR("Mika Westerberg <mika.westerberg@linux.intel.com>");
MODULE_DESCRIPTION("Intel LPSS PCI driver");
MODULE_LICENSE("GPL v2");
+MODULE_IMPORT_NS(INTEL_LPSS);