]> git.sur5r.net Git - u-boot/commitdiff
usb: dwc3-uniphier: replace <common.h> with <linux/bitops.h>
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 13 Oct 2017 10:21:56 +0000 (19:21 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 15 Oct 2017 13:32:24 +0000 (22:32 +0900)
Including <common.h> pulls in a lot of bloat.  What this driver needs
is BIT(), so replace it with <linux/bitops.h>

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Marek Vasut <marex@denx.de>
drivers/usb/dwc3/dwc3-uniphier.c

index 0d13770d40e8800f27894be41b4ebb2725cbb1eb..25b17a85d000e01b7ee329d606815be19f61fd75 100644 (file)
@@ -7,8 +7,8 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
 #include <dm.h>
+#include <linux/bitops.h>
 #include <linux/errno.h>
 #include <linux/io.h>
 #include <linux/sizes.h>