diff options
| author | Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> | 2026-06-24 10:34:48 +0200 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-07-15 17:12:54 +0200 |
| commit | e1880f52cbc69de83e9d22873b83cd38d20da5a2 (patch) | |
| tree | fad0b10b5dcd8101005038fae8d41782a102e117 | |
| parent | 635590417a89466234aa8a8c47a63274fb7fc523 (diff) | |
| download | linux-e1880f52cbc69de83e9d22873b83cd38d20da5a2.tar.gz linux-e1880f52cbc69de83e9d22873b83cd38d20da5a2.zip | |
media: ti: vpe: #include <linux/platform_device.h> explicitly
The driver uses several symbols and structs defined in that header. The
header is currently included transitively via
"vip.h" ->
<media/v4l2-ctrls.h> ->
<media/media-request.h> ->
<media/media-device.h> ->
<linux/platform_device.h>
which seems to be on the lower end of the scale between random and
reliable.
Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
| -rw-r--r-- | drivers/media/platform/ti/vpe/vip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/ti/vpe/vip.c b/drivers/media/platform/ti/vpe/vip.c index cb0a5a07a3d4..e56a95f53ea9 100644 --- a/drivers/media/platform/ti/vpe/vip.c +++ b/drivers/media/platform/ti/vpe/vip.c @@ -16,6 +16,7 @@ #include <linux/interrupt.h> #include <linux/module.h> #include <linux/workqueue.h> +#include <linux/platform_device.h> #include <linux/pm_runtime.h> #include <linux/sched.h> #include <linux/mfd/syscon.h> |
