Skip to content

Commit

Permalink
hwrng: geode - Use linux/io.h instead of asm/io.h
Browse files Browse the repository at this point in the history
Fix checkpatch.pl warning by changing from asm/io.h to linux/io.h. In
the mean time arrange the includes in alphabetical order.

Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
PrasannaKumar Muralidharan authored and Herbert Xu committed Sep 13, 2016
1 parent 6e9b5e7 commit e9afc74
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/char/hw_random/geode-rng.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
* warranty of any kind, whether express or implied.
*/

#include <linux/module.h>
#include <linux/delay.h>
#include <linux/hw_random.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/hw_random.h>
#include <linux/delay.h>
#include <asm/io.h>

#define GEODE_RNG_DATA_REG 0x50
#define GEODE_RNG_STATUS_REG 0x54
Expand Down

0 comments on commit e9afc74

Please sign in to comment.