Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756791Ab1FJMpL (ORCPT ); Fri, 10 Jun 2011 08:45:11 -0400 Received: from mail-ww0-f44.google.com ([74.125.82.44]:58219 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755825Ab1FJMpI (ORCPT ); Fri, 10 Jun 2011 08:45:08 -0400 From: Jamie Iles To: linux-kernel@vger.kernel.org Cc: Jamie Iles , Grant Likely Subject: [PATCH] gpio: basic_mmio: add missing include of spinlock_types.h Date: Fri, 10 Jun 2011 13:44:49 +0100 Message-Id: <1307709889-31350-1-git-send-email-jamie@jamieiles.com> X-Mailer: git-send-email 1.7.4.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1083 Lines: 33 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..0490e2e 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/