diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-07-05 11:45:01 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-07-18 09:34:16 +0200 |
commit | b22a8b075dbc755dd483e1d318c8f2933464583e (patch) | |
tree | c64b7a2959fcfc8853071e151ae1befb060429ae | |
parent | mtd: rawnand: omap2: Allow selection of this driver when COMPILE_TEST=y (diff) | |
download | linux-b22a8b075dbc755dd483e1d318c8f2933464583e.tar.xz linux-b22a8b075dbc755dd483e1d318c8f2933464583e.zip |
mtd: rawnand: sharpsl: Remove inclusion of mach and asm headers
We don't need mach/hardware.h and sm/mach-types.h, and asm/io.h can be
replaced by linux/io.h.
Now that we removed those inclusions, we're ready to allow selection of
this driver when COMPILE_TEST=y.
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
-rw-r--r-- | drivers/mtd/nand/raw/sharpsl.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/mtd/nand/raw/sharpsl.c b/drivers/mtd/nand/raw/sharpsl.c index e93df02c825e..fc171b17a39b 100644 --- a/drivers/mtd/nand/raw/sharpsl.c +++ b/drivers/mtd/nand/raw/sharpsl.c @@ -21,10 +21,7 @@ #include <linux/mtd/sharpsl.h> #include <linux/interrupt.h> #include <linux/platform_device.h> - -#include <asm/io.h> -#include <mach/hardware.h> -#include <asm/mach-types.h> +#include <linux/io.h> struct sharpsl_nand { struct nand_chip chip; |