Browse Source

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@gmail.com>
Brian Norris 10 năm trước cách đây
mục cha
commit
801cf21bb5
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      include/linux/mtd/spi-nor.h

+ 2 - 0
include/linux/mtd/spi-nor.h

@@ -10,6 +10,8 @@
 #ifndef __LINUX_MTD_SPI_NOR_H
 #ifndef __LINUX_MTD_SPI_NOR_H
 #define __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
  * 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
  * SPINOR_OP_FUNCTION{4,}_x_y_z. The numbers x, y, and z stand for the number