Message ID | 20210202194752.247301-1-swboyd@chromium.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [-next] media: venus: Include io.h for memremap() | expand |
On Tue, Feb 2, 2021 at 11:51 AM Stephen Boyd <swboyd@chromium.org> wrote: > > This file uses memremap() now, so we should include io.h instead of > relying on any sort of implicit include elsewhere. > > Cc: Dikshita Agarwal <dikshita@codeaurora.org> > Fixes: 0ca0ca980505 ("media: venus: core: add support to dump FW region") > Signed-off-by: Stephen Boyd <swboyd@chromium.org> > --- > drivers/media/platform/qcom/venus/core.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/media/platform/qcom/venus/core.c b/drivers/media/platform/qcom/venus/core.c > index 1471c7f9c89d..915b3ed8ed64 100644 > --- a/drivers/media/platform/qcom/venus/core.c > +++ b/drivers/media/platform/qcom/venus/core.c > @@ -5,6 +5,7 @@ > */ > #include <linux/init.h> > #include <linux/interconnect.h> > +#include <linux/io.h> > #include <linux/ioctl.h> > #include <linux/delay.h> > #include <linux/devcoredump.h> > > base-commit: 0ca0ca9805055bb0efc16890f9d6433c65bd07cc > -- > https://chromeos.dev Reviewed-by: Fritz Koenig <frkoenig@chromium.org>
diff --git a/drivers/media/platform/qcom/venus/core.c b/drivers/media/platform/qcom/venus/core.c index 1471c7f9c89d..915b3ed8ed64 100644 --- a/drivers/media/platform/qcom/venus/core.c +++ b/drivers/media/platform/qcom/venus/core.c @@ -5,6 +5,7 @@ */ #include <linux/init.h> #include <linux/interconnect.h> +#include <linux/io.h> #include <linux/ioctl.h> #include <linux/delay.h> #include <linux/devcoredump.h>
This file uses memremap() now, so we should include io.h instead of relying on any sort of implicit include elsewhere. Cc: Dikshita Agarwal <dikshita@codeaurora.org> Fixes: 0ca0ca980505 ("media: venus: core: add support to dump FW region") Signed-off-by: Stephen Boyd <swboyd@chromium.org> --- drivers/media/platform/qcom/venus/core.c | 1 + 1 file changed, 1 insertion(+) base-commit: 0ca0ca9805055bb0efc16890f9d6433c65bd07cc