aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/core.c
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe.montjoie@gmail.com>2016-12-13 09:51:12 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2016-12-27 04:50:33 -0500
commitaffdec58dafcf1cd7ff1dfaf2e4539b5532d0e84 (patch)
tree5d41e7bee274ea556e664c22f396072a665a9253 /drivers/char/hw_random/core.c
parentdd8014830d2b1fdf5328978ada706df3ec180c21 (diff)
hwrng: core - Replace asm/uaccess.h by linux/uaccess.h
This patch fix the checkpatch warning about asm/uaccess.h. In the same time, we sort the headers in alphabetical order. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random/core.c')
-rw-r--r--drivers/char/hw_random/core.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/char/hw_random/core.c b/drivers/char/hw_random/core.c
index 6266d1589bc6..f81fd72b6692 100644
--- a/drivers/char/hw_random/core.c
+++ b/drivers/char/hw_random/core.c
@@ -10,18 +10,18 @@
10 * of the GNU General Public License, incorporated herein by reference. 10 * of the GNU General Public License, incorporated herein by reference.
11 */ 11 */
12 12
13#include <linux/delay.h>
13#include <linux/device.h> 14#include <linux/device.h>
15#include <linux/err.h>
16#include <linux/fs.h>
14#include <linux/hw_random.h> 17#include <linux/hw_random.h>
15#include <linux/module.h>
16#include <linux/kernel.h> 18#include <linux/kernel.h>
17#include <linux/fs.h>
18#include <linux/sched.h>
19#include <linux/miscdevice.h>
20#include <linux/kthread.h> 19#include <linux/kthread.h>
21#include <linux/delay.h> 20#include <linux/miscdevice.h>
22#include <linux/slab.h> 21#include <linux/module.h>
23#include <linux/random.h> 22#include <linux/random.h>
24#include <linux/err.h> 23#include <linux/sched.h>
24#include <linux/slab.h>
25#include <linux/uaccess.h> 25#include <linux/uaccess.h>
26 26
27#define RNG_MODULE_NAME "hw_random" 27#define RNG_MODULE_NAME "hw_random"