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

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Uros Bizjak and committed by
Jason A. Donenfeld
eab41187 b23eff81

+1
+1
drivers/media/test-drivers/vivid/vivid-vid-cap.c
··· 10 10 #include <linux/sched.h> 11 11 #include <linux/vmalloc.h> 12 12 #include <linux/videodev2.h> 13 + #include <linux/prandom.h> 13 14 #include <linux/v4l2-dv-timings.h> 14 15 #include <media/v4l2-common.h> 15 16 #include <media/v4l2-event.h>