summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/denali_pci.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-09-22 05:46:40 +0200
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-09-22 09:04:20 +0200
commitda4734be238341b873a94027fe24101b3e7c5c53 (patch)
tree801c0e2a3e1eb47e6b7625275842c161ca044fc8 /drivers/mtd/nand/denali_pci.c
parentmtd: nand: denali: prefix detect_max_banks() with denali_ (diff)
downloadlinux-da4734be238341b873a94027fe24101b3e7c5c53.tar.xz
linux-da4734be238341b873a94027fe24101b3e7c5c53.zip
mtd: nand: denali: consolidate include directives
Include necessary headers explicitly without relying on indirect header inclusion. Also, sort them alphabetically. <linux/delay.h>, <linux/wait.h>, <linux/mutex.h> turned out bogus, so removed. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd/nand/denali_pci.c')
-rw-r--r--drivers/mtd/nand/denali_pci.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mtd/nand/denali_pci.c b/drivers/mtd/nand/denali_pci.c
index 81370c79aa48..7d5600b6d07c 100644
--- a/drivers/mtd/nand/denali_pci.c
+++ b/drivers/mtd/nand/denali_pci.c
@@ -11,6 +11,9 @@
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*/
+
+#include <linux/errno.h>
+#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>