diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2022-04-28 09:24:29 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-05-06 14:02:56 +0300 |
commit | 619695fab3ba18a9145000280b0d74faf2131dea (patch) | |
tree | a0a0c1517e8bebc672649a82dbd0fc71074ed528 /drivers/platform | |
parent | 6de4d4eca9a2d0195f802bc97b0e9aeeaff05900 (diff) | |
download | linux-619695fab3ba18a9145000280b0d74faf2131dea.tar.xz |
platform/x86: pmc_atom: dont export pmc_atom_read - no modular users
There is only one user of pmc_atom_read in tree, and that is in
drivers/acpi/acpi_lpss.c -- which can't be anything but built-in.
As such there is no point in adding this function to the global symbol
list exported to modules.
Note that there is no <linux/export.h> include removal since the code
was getting that header implicitly.
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Aubrey Li <aubrey.li@linux.intel.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Mark Gross <markgross@kernel.org>
Cc: platform-driver-x86@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Link: https://lore.kernel.org/r/20220428062430.31010-4-paul.gortmaker@windriver.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/pmc_atom.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/platform/x86/pmc_atom.c b/drivers/platform/x86/pmc_atom.c index 31cf25d25d66..b8b1ed1406de 100644 --- a/drivers/platform/x86/pmc_atom.c +++ b/drivers/platform/x86/pmc_atom.c @@ -221,7 +221,6 @@ int pmc_atom_read(int offset, u32 *value) *value = pmc_reg_read(pmc, offset); return 0; } -EXPORT_SYMBOL_GPL(pmc_atom_read); static void pmc_power_off(void) { |