From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aORwq-000369-9M for barebox@lists.infradead.org; Wed, 27 Jan 2016 15:23:57 +0000 Received: by mail-wm0-x242.google.com with SMTP id l65so3961157wmf.3 for ; Wed, 27 Jan 2016 07:23:35 -0800 (PST) From: yegorslists@googlemail.com Date: Wed, 27 Jan 2016 16:22:55 +0100 Message-Id: <1453908178-7106-2-git-send-email-yegorslists@googlemail.com> In-Reply-To: <1453908178-7106-1-git-send-email-yegorslists@googlemail.com> References: <1453908178-7106-1-git-send-email-yegorslists@googlemail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 2/5] Introduce include/linux/spinlock.h To: barebox@lists.infradead.org From: Yegor Yefremov Move spinlock related definitions to its original place. Signed-off-by: Yegor Yefremov --- drivers/mtd/nand/denali.h | 1 + drivers/usb/gadget/f_acm.c | 1 + drivers/usb/musb/musb_core.h | 1 + drivers/usb/musb/phy-am335x-control.c | 1 + drivers/video/imx-ipu-v3/imx-ipu-v3.h | 1 + fs/pstore/platform.c | 1 + fs/pstore/ram.c | 1 + fs/ubifs/ubifs.h | 1 + include/linux/barebox-wrapper.h | 7 ------- include/linux/dcache.h | 2 ++ include/linux/fs.h | 1 + include/linux/spinlock.h | 11 +++++++++++ include/usb/composite.h | 1 + 13 files changed, 23 insertions(+), 7 deletions(-) create mode 100644 include/linux/spinlock.h diff --git a/drivers/mtd/nand/denali.h b/drivers/mtd/nand/denali.h index f5511c9..515353e 100644 --- a/drivers/mtd/nand/denali.h +++ b/drivers/mtd/nand/denali.h @@ -21,6 +21,7 @@ #define __DENALI_H__ #include +#include #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 f582fcd..cba59b1 100644 --- a/drivers/usb/gadget/f_acm.c +++ b/drivers/usb/gadget/f_acm.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h index 46265d6..a21ddd5 100644 --- a/drivers/usb/musb/musb_core.h +++ b/drivers/usb/musb/musb_core.h @@ -39,6 +39,7 @@ #include #include #include +#include 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 214ae71..809c518 100644 --- a/drivers/usb/musb/phy-am335x-control.c +++ b/drivers/usb/musb/phy-am335x-control.c @@ -2,6 +2,7 @@ #include #include #include +#include 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 783535e..8deb295 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 #include