Skip to content
Commit 6bee1af9 authored by Matthias Kaehlcke's avatar Matthias Kaehlcke Committed by Andy Shevchenko
Browse files

platform/x86: intel_pmc_ipc: Mark ipc_data_readb() as __maybe_unused



The function is currently not used, however it is part of the API and
might be used in the future. Adding the attribute fixes the following
warning when building with clang:

    drivers/platform/x86/intel_pmc_ipc.c:189:18: error: unused function
        'ipc_data_readb' [-Werror,-Wunused-function]

Signed-off-by: default avatarMatthias Kaehlcke <mka@chromium.org>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 3cfd956b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment