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 <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Cc: [email protected] Acked-by: Hans Verkuil <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
1 parent b23eff8 commit eab4118

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)