commit | 6bee1af9dcaa05c2b9289ec26ed121039dfea251 | [log] [tgz] |
---|---|---|
author | Matthias Kaehlcke <mka@chromium.org> | Thu May 25 15:15:10 2017 -0700 |
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Fri May 26 12:52:21 2017 +0300 |
tree | b3adba6c3f828f4f40d4c6bc86c2f28458d098ea | |
parent | 3cfd956b02ac7a9fb5f2414171f834871931fbd0 [diff] |
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>