]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
gpio: uniphier: include <linux/bits.h> instead of <linux/bitops.h>
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 16 Oct 2018 04:11:33 +0000 (13:11 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 16 Oct 2018 08:02:46 +0000 (10:02 +0200)
The reason of including <linux/bitops.h> here is just for BIT() and
GENMASK macros.

Since commit 8bd9cb51daac8 ("locking/atomics, asm-generic: Move some
macros from <linux/bitops.h> to a new <linux/bits.h> file"),
<linux/bits.h> is enough for such compile-time macros.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-uniphier.c

index 7fdac906097980f37e05cb23060369f4e3377a02..74551cbdb2e81cb408afdb8574e2fb2d820e3d11 100644 (file)
@@ -12,7 +12,7 @@
  * GNU General Public License for more details.
  */
 
-#include <linux/bitops.h>
+#include <linux/bits.h>
 #include <linux/gpio/driver.h>
 #include <linux/irq.h>
 #include <linux/irqdomain.h>