mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 12:21:22 -05:00
drm/i915/selftests: 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: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Cc: Tvrtko Ursulin <tursulin@ursulin.net> Cc: David Airlie <airlied@gmail.com> Cc: Daniel Vetter <daniel@ffwll.ch> Acked-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
committed by
Jason A. Donenfeld
parent
fe5d0c88c8
commit
75caf39655
@@ -4,7 +4,7 @@
|
||||
* Copyright © 2018 Intel Corporation
|
||||
*/
|
||||
|
||||
#include <linux/random.h>
|
||||
#include <linux/prandom.h>
|
||||
|
||||
#include "gem/i915_gem_internal.h"
|
||||
#include "gem/i915_gem_pm.h"
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#define __I915_SELFTESTS_RANDOM_H__
|
||||
|
||||
#include <linux/math64.h>
|
||||
#include <linux/random.h>
|
||||
#include <linux/prandom.h>
|
||||
|
||||
#include "../i915_selftest.h"
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
#include <linux/prime_numbers.h>
|
||||
#include <linux/random.h>
|
||||
#include <linux/prandom.h>
|
||||
|
||||
#include "i915_selftest.h"
|
||||
#include "i915_utils.h"
|
||||
|
||||
Reference in New Issue
Block a user