Commit affdec58 authored by Corentin LABBE's avatar Corentin LABBE Committed by Herbert Xu

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: default avatarCorentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent dd801483
...@@ -10,18 +10,18 @@ ...@@ -10,18 +10,18 @@
* of the GNU General Public License, incorporated herein by reference. * of the GNU General Public License, incorporated herein by reference.
*/ */
#include <linux/delay.h>
#include <linux/device.h> #include <linux/device.h>
#include <linux/err.h>
#include <linux/fs.h>
#include <linux/hw_random.h> #include <linux/hw_random.h>
#include <linux/module.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/sched.h>
#include <linux/miscdevice.h>
#include <linux/kthread.h> #include <linux/kthread.h>
#include <linux/delay.h> #include <linux/miscdevice.h>
#include <linux/slab.h> #include <linux/module.h>
#include <linux/random.h> #include <linux/random.h>
#include <linux/err.h> #include <linux/sched.h>
#include <linux/slab.h>
#include <linux/uaccess.h> #include <linux/uaccess.h>
#define RNG_MODULE_NAME "hw_random" #define RNG_MODULE_NAME "hw_random"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment