Skip to content

Commit eab4118

Browse files
ubizjakzx2c4
authored andcommitted
media: vivid: Include <linux/prandom.h> in vivid-vid-cap.c
Include <linux/prandom.h> to allow the removal of legacy inclusion of <linux/prandom.h> from <linux/random.h>. Signed-off-by: Uros Bizjak <ubizjak@gmail.com> Cc: Mauro Carvalho Chehab <mchehab@kernel.org> Cc: linux-media@vger.kernel.org Acked-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
1 parent b23eff8 commit eab4118

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/media/test-drivers/vivid/vivid-vid-cap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <linux/sched.h>
1111
#include <linux/vmalloc.h>
1212
#include <linux/videodev2.h>
13+
#include <linux/prandom.h>
1314
#include <linux/v4l2-dv-timings.h>
1415
#include <media/v4l2-common.h>
1516
#include <media/v4l2-event.h>

0 commit comments

Comments
 (0)