diff options
author | Yegor Yefremov <yegorslists@googlemail.com> | 2016-01-27 16:22:55 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-02-01 09:16:13 +0100 |
commit | baa7fe1d15606e08ee9da1c21b987eca5072a421 (patch) | |
tree | b557ab2f0a1397ddd24eeaed5d29381835ad71a3 /drivers/usb | |
parent | 7a583dfb4f3f34a581b0913dbee6bc222cfbd007 (diff) | |
download | barebox-baa7fe1d15606e08ee9da1c21b987eca5072a421.tar.gz barebox-baa7fe1d15606e08ee9da1c21b987eca5072a421.tar.xz |
Introduce include/linux/spinlock.h
Move spinlock related definitions to its original place.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/gadget/f_acm.c | 1 | ||||
-rw-r--r-- | drivers/usb/musb/musb_core.h | 1 | ||||
-rw-r--r-- | drivers/usb/musb/phy-am335x-control.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/gadget/f_acm.c b/drivers/usb/gadget/f_acm.c index f582fcd0c5..cba59b1585 100644 --- a/drivers/usb/gadget/f_acm.c +++ b/drivers/usb/gadget/f_acm.c @@ -17,6 +17,7 @@ #include <common.h> #include <usb/cdc.h> #include <linux/err.h> +#include <linux/spinlock.h> #include <asm/byteorder.h> #include <usb/composite.h> diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h index 46265d6190..a21ddd5df2 100644 --- a/drivers/usb/musb/musb_core.h +++ b/drivers/usb/musb/musb_core.h @@ -39,6 +39,7 @@ #include <notifier.h> #include <usb/usb.h> #include <usb/phy.h> +#include <linux/spinlock.h> struct musb; struct musb_hw_ep; diff --git a/drivers/usb/musb/phy-am335x-control.c b/drivers/usb/musb/phy-am335x-control.c index 214ae71776..809c5182c0 100644 --- a/drivers/usb/musb/phy-am335x-control.c +++ b/drivers/usb/musb/phy-am335x-control.c @@ -2,6 +2,7 @@ #include <init.h> #include <io.h> #include <linux/err.h> +#include <linux/spinlock.h> struct phy_control { void (*phy_power)(struct phy_control *phy_ctrl, u32 id, bool on); |