diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2021-10-28 18:35:48 +0200 |
---|---|---|
committer | Robert Foss <robert.foss@linaro.org> | 2021-10-28 19:11:17 +0200 |
commit | 2b3374306b315be02db0f67d3102a0d1e1357270 (patch) | |
tree | 57ca9dbff1f0da5afb9a0ff07a697940fefe4511 /block/blk-rq-qos.c | |
parent | dma-buf: remove restriction of IOCTL:DMA_BUF_SET_NAME (diff) | |
download | linux-2b3374306b315be02db0f67d3102a0d1e1357270.tar.xz linux-2b3374306b315be02db0f67d3102a0d1e1357270.zip |
drm/bridge: sn65dsi86: ti_sn65dsi86_read_u16() __maybe_unused
When built without CONFIG_PWM there are no references to
ti_sn65dsi86_read_u16(), avoid the W=1 build warning by marking the
function as __maybe_unused.
__maybe_unused is used insted of a #ifdef guard as it looks slighly
cleaner and it avoids issues if in the future other permutations of the
config options would use the function.
Reported-by: kernel test robot <lkp@intel.com>
Fixes: cea86c5bb442 ("drm/bridge: ti-sn65dsi86: Implement the pwm_chip")
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20211028163548.273736-1-bjorn.andersson@linaro.org
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Diffstat (limited to 'block/blk-rq-qos.c')
0 files changed, 0 insertions, 0 deletions