summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2016-01-27 16:22:55 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-02-01 09:16:13 +0100
commitbaa7fe1d15606e08ee9da1c21b987eca5072a421 (patch)
treeb557ab2f0a1397ddd24eeaed5d29381835ad71a3 /drivers
parent7a583dfb4f3f34a581b0913dbee6bc222cfbd007 (diff)
downloadbarebox-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')
-rw-r--r--drivers/mtd/nand/denali.h1
-rw-r--r--drivers/usb/gadget/f_acm.c1
-rw-r--r--drivers/usb/musb/musb_core.h1
-rw-r--r--drivers/usb/musb/phy-am335x-control.c1
-rw-r--r--drivers/video/imx-ipu-v3/imx-ipu-v3.h1
5 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mtd/nand/denali.h b/drivers/mtd/nand/denali.h
index f5511c969c..515353e277 100644
--- a/drivers/mtd/nand/denali.h
+++ b/drivers/mtd/nand/denali.h
@@ -21,6 +21,7 @@
#define __DENALI_H__
#include <linux/mtd/nand.h>
+#include <linux/spinlock.h>
#define DEVICE_RESET 0x0
#define DEVICE_RESET__BANK0 0x0001
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);
diff --git a/drivers/video/imx-ipu-v3/imx-ipu-v3.h b/drivers/video/imx-ipu-v3/imx-ipu-v3.h
index 783535ea54..8deb2951bf 100644
--- a/drivers/video/imx-ipu-v3/imx-ipu-v3.h
+++ b/drivers/video/imx-ipu-v3/imx-ipu-v3.h
@@ -16,6 +16,7 @@
#include <fb.h>
#include <video/vpl.h>
#include <video/fourcc.h>
+#include <linux/spinlock.h>
struct ipu_soc;