OSDN Git Service

drm/sti: Include the right header
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 23 Aug 2019 07:14:28 +0000 (09:14 +0200)
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>
Mon, 2 Sep 2019 13:10:02 +0000 (15:10 +0200)
commitacff2f86b195653a9487fe3dbdbc821d77eff54a
treed5ff1209e9be728c55bec479874a493ec1330fcb
parent536cce149769aee3f0426a9ef87bbd3a3d9a0951
drm/sti: Include the right header

The sti_hdmi.c file include <linux/of_gpio.h> despite not even
using any GPIOs.

What it does use is devm_ioremap_nocache() which comes from
<linux/io.h> implicitly by including that header.

Fix this up by including the right header instead.

Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Cc: Vincent Abriou <vincent.abriou@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190823071428.6155-1-linus.walleij@linaro.org
drivers/gpu/drm/sti/sti_hdmi.c