diff options
author | Uros Bizjak <[email protected]> | 2024-09-30 14:33:15 +0200 |
---|---|---|
committer | Jason A. Donenfeld <[email protected]> | 2024-10-03 18:19:38 +0200 |
commit | b23eff812a77646df37a5c870bbdcbec79592eb4 (patch) | |
tree | a4e37b175300f45a116ad07073d2fc93385975b3 | |
parent | 75caf39655b913db4baeb0104a1301a297f71fcb (diff) |
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 <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Signed-off-by: Jason A. Donenfeld <[email protected]>
-rw-r--r-- | drivers/gpu/drm/lib/drm_random.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/lib/drm_random.h b/drivers/gpu/drm/lib/drm_random.h index 5543bf0474bc..9f827260a89d 100644 --- a/drivers/gpu/drm/lib/drm_random.h +++ b/drivers/gpu/drm/lib/drm_random.h @@ -6,7 +6,7 @@ * be transposed to lib/ at the earliest convenience. */ -#include <linux/random.h> +#include <linux/prandom.h> #define DRM_RND_STATE_INITIALIZER(seed__) ({ \ struct rnd_state state__; \ |