Commit 7be37332 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

media: atomisp/pci: add missing include

Fix two smatch warnings:

drivers/staging/media/atomisp//pci/ia_css_firmware.h:52:29: warning: 'struct device' declared inside parameter list will not be visible outside of this definition or declaration
drivers/staging/media/atomisp//pci/ia_css_control.h:49:24: warning: 'struct device' declared inside parameter list will not be visible outside of this definition or declaration

Add '#include <linux/device.h>' to ia_css_firmware.h so struct device is defined.

ia_css_control.h includes ia_css_firmware.h, so it is sufficient to
just modify ia_css_firmware.h.
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent e121993a
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
* This file contains firmware loading/unloading support functionality * This file contains firmware loading/unloading support functionality
*/ */
#include <linux/device.h>
#include "ia_css_err.h" #include "ia_css_err.h"
#include "ia_css_env.h" #include "ia_css_env.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment