mtd: rawnand: sharpsl: Remove inclusion of mach and asm headers
authorBoris Brezillon <boris.brezillon@bootlin.com>
Thu, 5 Jul 2018 09:45:01 +0000 (11:45 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 18 Jul 2018 07:34:16 +0000 (09:34 +0200)
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>
drivers/mtd/nand/raw/sharpsl.c

index e93df02c825e319ccc910f53187097e319eebaea..fc171b17a39b8dce93587ba8315120162bc8012f 100644 (file)
 #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;