diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-11-11 08:55:08 +0100 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-12-07 10:38:24 +0100 |
commit | fbb080a1fcad340a6337d850ce4ff21f84635b03 (patch) | |
tree | 1c74a113d4a227afb85eba1044b30dadfb27f2b9 /drivers/mtd/nand/raw/ams-delta.c | |
parent | 336058c8f4c2c7991427304c8bde05acef156054 (diff) | |
download | lwn-fbb080a1fcad340a6337d850ce4ff21f84635b03.tar.gz lwn-fbb080a1fcad340a6337d850ce4ff21f84635b03.zip |
mtd: rawnand: ams-delta: Allow this driver to be compiled when COMPILE_TEST=y
Drop the asm and mach headers inclusion and allow this driver to be
compiled when COMPILE_TEST=y in order to increase compile-test
coverage.
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Tested-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd/nand/raw/ams-delta.c')
-rw-r--r-- | drivers/mtd/nand/raw/ams-delta.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/mtd/nand/raw/ams-delta.c b/drivers/mtd/nand/raw/ams-delta.c index 9ca70aab199d..a7c0e3af3b11 100644 --- a/drivers/mtd/nand/raw/ams-delta.c +++ b/drivers/mtd/nand/raw/ams-delta.c @@ -21,15 +21,12 @@ #include <linux/module.h> #include <linux/delay.h> #include <linux/gpio/consumer.h> +#include <linux/io.h> #include <linux/mtd/mtd.h> #include <linux/mtd/rawnand.h> #include <linux/mtd/partitions.h> #include <linux/platform_data/gpio-omap.h> - -#include <asm/io.h> -#include <asm/sizes.h> - -#include <mach/hardware.h> +#include <linux/sizes.h> /* * MTD structure for E3 (Delta) |