mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-01 18:55:12 +00:00
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>
This commit is contained in:
parent
75caf39655
commit
b23eff812a
@ -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__; \
|
||||
|
Loading…
Reference in New Issue
Block a user