mtd: spi-nor: make implicit <linux/bitops.h> dependency explicit
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri Nov 6 10:59:22 PST 2015
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=801cf21bb5806e39c593bad76b257bba20eaf66f
Commit: 801cf21bb5806e39c593bad76b257bba20eaf66f
Parent: 7c748f5774cb74c6be49fc351007855c96dfb8a3
Author: Brian Norris <computersforpeace at gmail.com>
AuthorDate: Tue Sep 1 12:57:06 2015 -0700
Committer: Brian Norris <computersforpeace at gmail.com>
CommitDate: Tue Oct 13 18:22:50 2015 -0700
mtd: spi-nor: make implicit <linux/bitops.h> dependency explicit
We use BIT() in the header. No real problem for now, but it's better to
be accurate.
Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
include/linux/mtd/spi-nor.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/mtd/spi-nor.h b/include/linux/mtd/spi-nor.h
index 672595a..bc4c321 100644
--- a/include/linux/mtd/spi-nor.h
+++ b/include/linux/mtd/spi-nor.h
@@ -10,6 +10,8 @@
#ifndef __LINUX_MTD_SPI_NOR_H
#define __LINUX_MTD_SPI_NOR_H
+#include <linux/bitops.h>
+
/*
* Note on opcode nomenclature: some opcodes have a format like
* SPINOR_OP_FUNCTION{4,}_x_y_z. The numbers x, y, and z stand for the number
More information about the linux-mtd-cvs
mailing list