]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/lib: Include <linux/prandom.h> instead of <linux/random.h>
authorUros Bizjak <ubizjak@gmail.com>
Mon, 30 Sep 2024 12:33:15 +0000 (14:33 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 3 Oct 2024 16:19:38 +0000 (18:19 +0200)
commitb23eff812a77646df37a5c870bbdcbec79592eb4
treea4e37b175300f45a116ad07073d2fc93385975b3
parent75caf39655b913db4baeb0104a1301a297f71fcb
drm/lib: Include <linux/prandom.h> instead of <linux/random.h>

Substitute the inclusion of <linux/random.h> header with
<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: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: David Airlie <airlied@gmail.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
drivers/gpu/drm/lib/drm_random.h