Skip to content

Commit b23eff8

Browse files
ubizjakzx2c4
authored andcommitted
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]>
1 parent 75caf39 commit b23eff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/lib/drm_random.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* be transposed to lib/ at the earliest convenience.
77
*/
88

9-
#include <linux/random.h>
9+
#include <linux/prandom.h>
1010

1111
#define DRM_RND_STATE_INITIALIZER(seed__) ({ \
1212
struct rnd_state state__; \

0 commit comments

Comments
 (0)