summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe.montjoie@gmail.com>2016-12-13 15:51:12 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2016-12-27 17:50:33 +0800
commitaffdec58dafcf1cd7ff1dfaf2e4539b5532d0e84 (patch)
tree5d41e7bee274ea556e664c22f396072a665a9253 /drivers
parentdd8014830d2b1fdf5328978ada706df3ec180c21 (diff)
downloadlinux-riscv-affdec58dafcf1cd7ff1dfaf2e4539b5532d0e84.tar.gz
linux-riscv-affdec58dafcf1cd7ff1dfaf2e4539b5532d0e84.tar.bz2
linux-riscv-affdec58dafcf1cd7ff1dfaf2e4539b5532d0e84.zip
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')
-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 @@
* of the GNU General Public License, incorporated herein by reference.
*/
+#include <linux/delay.h>
#include <linux/device.h>
+#include <linux/err.h>
+#include <linux/fs.h>
#include <linux/hw_random.h>
-#include <linux/module.h>
#include <linux/kernel.h>
-#include <linux/fs.h>
-#include <linux/sched.h>
-#include <linux/miscdevice.h>
#include <linux/kthread.h>
-#include <linux/delay.h>
-#include <linux/slab.h>
+#include <linux/miscdevice.h>
+#include <linux/module.h>
#include <linux/random.h>
-#include <linux/err.h>
+#include <linux/sched.h>
+#include <linux/slab.h>
#include <linux/uaccess.h>
#define RNG_MODULE_NAME "hw_random"