summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-uniphier.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-10-16 06:11:33 +0200
committerLinus Walleij <linus.walleij@linaro.org>2018-10-16 10:02:46 +0200
commitee8edbf8ca6bfde89bb2a9e6efe261b9ea622ee7 (patch)
treec0f9a82f1920d11b77a68d3d3cb241c5cff3cb9d /drivers/gpio/gpio-uniphier.c
parentpinctrl: uniphier: include <linux/bits.h> instead of <linux/bitops.h> (diff)
downloadlinux-ee8edbf8ca6bfde89bb2a9e6efe261b9ea622ee7.tar.xz
linux-ee8edbf8ca6bfde89bb2a9e6efe261b9ea622ee7.zip
gpio: uniphier: include <linux/bits.h> instead of <linux/bitops.h>
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>
Diffstat (limited to 'drivers/gpio/gpio-uniphier.c')
-rw-r--r--drivers/gpio/gpio-uniphier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-uniphier.c b/drivers/gpio/gpio-uniphier.c
index 7fdac9060979..74551cbdb2e8 100644
--- a/drivers/gpio/gpio-uniphier.c
+++ b/drivers/gpio/gpio-uniphier.c
@@ -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>