Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b22a8b07 authored by Boris Brezillon's avatar Boris Brezillon Committed by Miquel Raynal
Browse files

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: default avatarBoris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent 31ac1a53
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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;