Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756989Ab1FJMsW (ORCPT ); Fri, 10 Jun 2011 08:48:22 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:51768 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755825Ab1FJMsU (ORCPT ); Fri, 10 Jun 2011 08:48:20 -0400 Date: Fri, 10 Jun 2011 13:48:05 +0100 From: Jamie Iles To: Jamie Iles Cc: linux-kernel@vger.kernel.org, Grant Likely Subject: Re: [PATCH] gpio: basic_mmio: add missing include of spinlock_types.h Message-ID: <20110610124805.GN3711@pulham.picochip.com> References: <1307709889-31350-1-git-send-email-jamie@jamieiles.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1307709889-31350-1-git-send-email-jamie@jamieiles.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1733 Lines: 52 On Fri, Jun 10, 2011 at 01:44:49PM +0100, Jamie Iles wrote: > include/linux/basic_mmio_gpio.h uses a spinlock_t without including any > of the spinlock headers resulting in this compiler warning. > > include/linux/basic_mmio_gpio.h:51:2: error: expected specifier-qualifier-list before 'spinlock_t' > > Explicitly include linux/spinlock_types.h to fix it. Sorry, wrong patch. Here's the correct one. Jamie 8<--- >From cd6afb281b31596c175ea3ee1d44f0efea25250f Mon Sep 17 00:00:00 2001 From: Jamie Iles Date: Fri, 10 Jun 2011 13:41:44 +0100 Subject: [PATCH] gpio: basic_mmio: add missing include of spinlock_types.h include/linux/basic_mmio_gpio.h uses a spinlock_t without including any of the spinlock headers resulting in this compiler warning. include/linux/basic_mmio_gpio.h:51:2: error: expected specifier-qualifier-list before 'spinlock_t' Explicitly include linux/spinlock_types.h to fix it. Cc: Grant Likely Signed-off-by: Jamie Iles --- include/linux/basic_mmio_gpio.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/basic_mmio_gpio.h b/include/linux/basic_mmio_gpio.h index 1ae1271..98999cf 100644 --- a/include/linux/basic_mmio_gpio.h +++ b/include/linux/basic_mmio_gpio.h @@ -16,6 +16,7 @@ #include #include #include +#include struct bgpio_pdata { int base; -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/