diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-02-12 18:01:39 +0100 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-02-15 12:31:21 +0100 |
commit | fe5bd82f5941e44f31aec72f5b29a3253bbebe11 (patch) | |
tree | 4b287eea412324efa4e49eda7ae916f98c5d99ba /drivers/auxdisplay/ht16k33.c | |
parent | auxdisplay: linedisp: Add missing header(s) (diff) | |
download | linux-fe5bd82f5941e44f31aec72f5b29a3253bbebe11.tar.xz linux-fe5bd82f5941e44f31aec72f5b29a3253bbebe11.zip |
auxdisplay: linedisp: Move exported symbols to a 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/
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/auxdisplay/ht16k33.c')
-rw-r--r-- | drivers/auxdisplay/ht16k33.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/auxdisplay/ht16k33.c b/drivers/auxdisplay/ht16k33.c index a90430b7d07b..c6a42c5c128f 100644 --- a/drivers/auxdisplay/ht16k33.c +++ b/drivers/auxdisplay/ht16k33.c @@ -831,4 +831,5 @@ module_i2c_driver(ht16k33_driver); MODULE_DESCRIPTION("Holtek HT16K33 driver"); MODULE_LICENSE("GPL"); +MODULE_IMPORT_NS(LINEDISP); MODULE_AUTHOR("Robin van der Gracht <robin@protonic.nl>"); |