summaryrefslogtreecommitdiff
path: root/drivers/video/hitachi_tx18d42vm_lcd.c
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-06-06 09:15:14 +0200
committerSimon Glass <sjg@chromium.org>2017-06-07 21:30:47 -0600
commit1208523935613a2574f52028ec0d0e2466dcd067 (patch)
treef437a6d35443173e2680d7a3446bece586f29d91 /drivers/video/hitachi_tx18d42vm_lcd.c
parenta6b08c96771014cf048d0eb3a4fb66cf45968afb (diff)
rockchip: video: rk_hdmi: fix implicit definition warnings
When enabling CONFIG_DISPLAY_ROCKCHIP_HDMI, compile-time warning for the following implicitly defined functions are raised due to a missing include directive: drivers/video/rockchip/rk_hdmi.c: In function 'rk_hdmi_probe': drivers/video/rockchip/rk_hdmi.c:150:2: warning: implicit declaration of function 'rk_setreg' [-Wimplicit-function-declaration] rk_setreg(&priv->grf->soc_con6, 1 << 15); ^~~~~~~~~ drivers/video/rockchip/rk_hdmi.c:153:2: warning: implicit declaration of function 'rk_clrsetreg' [-Wimplicit-function-declaration] rk_clrsetreg(&priv->grf->soc_con6, 1 << 4, ^~~~~~~~~~~~ This change fixes this by including <asm/hardware.h> in rk_hdmi.c. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/video/hitachi_tx18d42vm_lcd.c')
0 files changed, 0 insertions, 0 deletions