Skip to content

Commit

Permalink
hwrng: core - Replace asm/uaccess.h by linux/uaccess.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Corentin LABBE authored and Herbert Xu committed Dec 27, 2016
1 parent dd80148 commit affdec5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions drivers/char/hw_random/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit affdec5

Please sign in to comment.