From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933922AbZHGUm4 (ORCPT ); Fri, 7 Aug 2009 16:42:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933872AbZHGUmy (ORCPT ); Fri, 7 Aug 2009 16:42:54 -0400 Received: from metis.ext.pengutronix.de ([92.198.50.35]:33075 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932731AbZHGUmw (ORCPT ); Fri, 7 Aug 2009 16:42:52 -0400 From: =?utf-8?q?Uwe=20Kleine-K=C3=B6nig?= To: Thomas Gleixner Cc: LKML , rt-users , Samuel Ortiz , Russell King , Kay Sievers , Greg Kroah-Hartman Subject: [PATCH 1/6] ucb1x00: include linux/semaphore.h Date: Fri, 7 Aug 2009 22:42:36 +0200 Message-Id: <1249677761-19470-1-git-send-email-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <20090807203939.GA19374@pengutronix.de> References: <20090807203939.GA19374@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:6f8:1178:2:215:17ff:fe12:23b0 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This fixes the following error: CC drivers/mfd/ucb1x00-core.o drivers/mfd/ucb1x00-core.c: In function 'ucb1x00_adc_enable': drivers/mfd/ucb1x00-core.c:138: error: implicit declaration of function 'down' drivers/mfd/ucb1x00-core.c: In function 'ucb1x00_adc_disable': drivers/mfd/ucb1x00-core.c:196: error: implicit declaration of function 'up' drivers/mfd/ucb1x00-core.c: In function 'ucb1x00_probe': drivers/mfd/ucb1x00-core.c:500: error: implicit declaration of function 'sema_init' Signed-off-by: Uwe Kleine-König Cc: Samuel Ortiz Cc: Russell King Cc: Kay Sievers Cc: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org --- Hello, should this better be converted to mutex_lock/mutex_unlock? Best regards Uwe --- drivers/mfd/ucb1x00-core.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mfd/ucb1x00-core.c b/drivers/mfd/ucb1x00-core.c index fea9085..3c59c26 100644 --- a/drivers/mfd/ucb1x00-core.c +++ b/drivers/mfd/ucb1x00-core.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include -- 1.6.3.3