Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: vsp1: Add missing export.h

As reported by the Kernel Test Robot, the newly merged vspx driver
exports a few symbols but doesn't include the export.h header.

While at it, include the header file in vsp1_drm.c which exports
symbols as well.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202506181950.r9PRdV59-lkp@intel.com/
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Link: https://lore.kernel.org/r/20250618-vspx-include-export-v1-1-95a2da4ec465@ideasonboard.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>

authored by

Jacopo Mondi and committed by
Hans Verkuil
f57e3655 9f0fb030

+2
+1
drivers/media/platform/renesas/vsp1/vsp1_drm.c
··· 9 9 10 10 #include <linux/device.h> 11 11 #include <linux/dma-mapping.h> 12 + #include <linux/export.h> 12 13 #include <linux/slab.h> 13 14 14 15 #include <media/media-entity.h>
+1
drivers/media/platform/renesas/vsp1/vsp1_vspx.c
··· 13 13 #include <linux/delay.h> 14 14 #include <linux/device.h> 15 15 #include <linux/dma-mapping.h> 16 + #include <linux/export.h> 16 17 #include <linux/list.h> 17 18 #include <linux/slab.h> 18 19 #include <linux/spinlock.h>