diff options
author | Matthias Kaehlcke <mka@chromium.org> | 2017-05-25 15:15:10 -0700 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-05-26 12:52:21 +0300 |
commit | 6bee1af9dcaa05c2b9289ec26ed121039dfea251 (patch) | |
tree | b3adba6c3f828f4f40d4c6bc86c2f28458d098ea /drivers/platform/x86/intel_cht_int33fe.c | |
parent | 3cfd956b02ac7a9fb5f2414171f834871931fbd0 (diff) | |
download | linux-6bee1af9dcaa05c2b9289ec26ed121039dfea251.tar.gz linux-6bee1af9dcaa05c2b9289ec26ed121039dfea251.tar.xz |
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: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/intel_cht_int33fe.c')
0 files changed, 0 insertions, 0 deletions