Skip to content

Commit 84b241a

Browse files
ubizjakzx2c4
authored andcommitted
mtd: tests: 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]> Acked-by: Miquel Raynal <[email protected]> Cc: Richard Weinberger <[email protected]> Cc: Vignesh Raghavendra <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
1 parent eab4118 commit 84b241a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

drivers/mtd/tests/oobtest.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include <linux/mtd/mtd.h>
1818
#include <linux/slab.h>
1919
#include <linux/sched.h>
20-
#include <linux/random.h>
20+
#include <linux/prandom.h>
2121

2222
#include "mtd_test.h"
2323

drivers/mtd/tests/pagetest.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include <linux/mtd/mtd.h>
1818
#include <linux/slab.h>
1919
#include <linux/sched.h>
20-
#include <linux/random.h>
20+
#include <linux/prandom.h>
2121

2222
#include "mtd_test.h"
2323

drivers/mtd/tests/subpagetest.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include <linux/mtd/mtd.h>
1616
#include <linux/slab.h>
1717
#include <linux/sched.h>
18-
#include <linux/random.h>
18+
#include <linux/prandom.h>
1919

2020
#include "mtd_test.h"
2121

0 commit comments

Comments
 (0)