From patchwork Tue Feb 23 07:54:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Pargmann X-Patchwork-Id: 586742 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 28C1A1402B4 for ; Tue, 23 Feb 2016 18:55:10 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756072AbcBWHzJ (ORCPT ); Tue, 23 Feb 2016 02:55:09 -0500 Received: from metis.ext.4.pengutronix.de ([92.198.50.35]:56128 "EHLO metis.ext.4.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751926AbcBWHzI (ORCPT ); Tue, 23 Feb 2016 02:55:08 -0500 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1aY7o8-0000hi-46; Tue, 23 Feb 2016 08:54:56 +0100 Received: from mpa by dude.hi.pengutronix.de with local (Exim 4.86) (envelope-from ) id 1aY7o7-0007iK-6l; Tue, 23 Feb 2016 08:54:55 +0100 From: Markus Pargmann To: Linus Walleij Cc: linux-gpio@vger.kernel.org, Alexandre Courbot , Johan Hovold , Michael Welling , Bamvor Jian Zhang , Grant Likely , devicetree@vger.kernel.org, Markus Pargmann Subject: [PATCH 2/4] tools: gpio: Add necessary include paths Date: Tue, 23 Feb 2016 08:54:47 +0100 Message-Id: <1456214089-13954-2-git-send-email-mpa@pengutronix.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1456214089-13954-1-git-send-email-mpa@pengutronix.de> References: <1456214089-13954-1-git-send-email-mpa@pengutronix.de> X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: mpa@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-gpio@vger.kernel.org Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add include paths to the Makefile so that linux/gpio.h can be found even on systems without this header. Signed-off-by: Markus Pargmann --- tools/gpio/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gpio/Makefile b/tools/gpio/Makefile index 4d198d5c4203..3f5b3f427b9c 100644 --- a/tools/gpio/Makefile +++ b/tools/gpio/Makefile @@ -1,5 +1,5 @@ CC = $(CROSS_COMPILE)gcc -CFLAGS += -Wall -g -D_GNU_SOURCE +CFLAGS += -Wall -g -D_GNU_SOURCE -I ../include -I ../../include/uapi all: lsgpio