From patchwork Mon Mar 19 00:50:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 131979 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2139664ljb; Sun, 18 Mar 2018 17:51:18 -0700 (PDT) X-Google-Smtp-Source: AG47ELvyGePoWp9DUGjF26Oy55XXFaSYj3Jm4/JbMxEaZXVLH24eHKCTwrmi4CJLh1b1il7A/pJI X-Received: by 2002:a17:902:e83:: with SMTP id 3-v6mr10756859plx.158.1521420678624; Sun, 18 Mar 2018 17:51:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521420678; cv=none; d=google.com; s=arc-20160816; b=Z8qUc5+g2YS/YGOMRwHspFKNSwBbetbAc+9iRGKsGtREyCCzUHDI+gF0prKgfbmLSz a5Ixjk+kAOBSJ3upZaAQktpLY9cyi9AF2ZkHRfFwzJfdn1r9xruICBgeb3ZxylRP+mFF Z4OhwEcSzPgqUpfGTq8/Z5YazclMWVhYnhWIBzCQXn5SetA8asFT1AW/Kycmvb/935Ch 24sOKbN4ecd09AFx7cqpe84vOaj1TtJhYEgUeHhi6C1Z6bOkf1cdR5d4sT7I02UINJga 1L1mDV+Rr4g3tCv1s0DNYL5o91Kzoa7nd2Phy7jzRA0TRHQPq6YUB006T1X9nzf+SH4U QQNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=4Sxo5F/AcTa+khYkvtU2wOvHIj6KEb29sQUIa/QIYyM=; b=aIv1+yMcQXb830fcHjrY0Gt390sg2LGlOV4S95RG4kZr+oGwLVqJrVT0Dzf1D2q+0w NAxgvz/teG9ky++CyDWjWJdvKjnCo1EteKlL6igDaHy5dbADFFSCPGXVCTSKp8TC18VZ w7d6a+XfJGVp2P/SSNRyM6sa3bcrtTEmOoEMOIhRqi8jZKXrK910STyJvC9iQmm0T3fj e9juz+C/UCliQo7aPYS4z0K/wKAED+pSZHKrzvR/thjlsJFb3etj04w4x6bsy1Ja+dJn FOvglTmiAPq64CnBEbutmej0QOs5IVO6Ut46/iZ0vympXYCAwURZtEppVgZi6gGR2eHs P4ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=RM4bIjTl; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z9si4038677pgo.720.2018.03.18.17.51.18; Sun, 18 Mar 2018 17:51:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=RM4bIjTl; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754752AbeCSAvS (ORCPT + 5 others); Sun, 18 Mar 2018 20:51:18 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:36611 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754673AbeCSAvR (ORCPT ); Sun, 18 Mar 2018 20:51:17 -0400 Received: by mail-pf0-f195.google.com with SMTP id 68so6381165pfx.3 for ; Sun, 18 Mar 2018 17:51:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=JSxiEbTb35GyC6vlKxIlZqGcNheiXEJkLzLZnaPy+6g=; b=RM4bIjTlgYnO8Qe+grBPcTIAr14mWL7pAM/FuPKwWpXmn4gaqj+WXN63f2fTo/Ep3C Uk9yWx25UYc3slMIsTW32v5glWEL6CaBTKLmX1HrMgsoJXGdF/Zvu74j7Vde0ivNI2Ot M9j7htuAHTIqG6fAtbBVUhACmANm2KVS5XnsI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=JSxiEbTb35GyC6vlKxIlZqGcNheiXEJkLzLZnaPy+6g=; b=UjhvlAYegn1tVd2TlKjUNJNrwpE98iABZ9on3pI/mGVmUnEmnn46vYW7RGLSJP4oTq mitBquOrYI7J/JvmejqvTza1mCrFk7DocPEyoNPqYOdXEVNAL7/guUKQtrMhXcNsiGHL XNJWvcoEJKoPaOJMTox1pov8mFYWyn8Yn9rQUOdqyXxLRwBAJTIm6puXUAUAzfYVKXEE CPqgX6uBaDrSHfO5kmyRUDstCrxVbkhLDQFCkK6TMyDf4fohXQA5dJFXgGDvIP6hPKIo egL+p5KXDphuIpLosbKv/x2ciGXGfqZUSn8ituV7yuCtskJCQw1DHlniKC01i+bq6TVq 3z5Q== X-Gm-Message-State: AElRT7ENmUbkWmilAXpw8uln/qLR+UL2AJIdlG5Fak00Tg6trV8BhLNC SKj1iFZ6VzhfWzjWz49YzYhM3PlpwNwT5Q== X-Received: by 10.98.152.207 with SMTP id d76mr8485216pfk.130.1521420676840; Sun, 18 Mar 2018 17:51:16 -0700 (PDT) Received: from localhost.localdomain ([218.255.99.6]) by smtp.gmail.com with ESMTPSA id z15sm21766373pgr.68.2018.03.18.17.51.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 18 Mar 2018 17:51:16 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Linus Walleij Subject: [PATCH 06/13] gpio: htc-gpio: Include the right header Date: Mon, 19 Mar 2018 01:50:49 +0100 Message-Id: <20180319005056.7380-6-linus.walleij@linaro.org> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180319005056.7380-1-linus.walleij@linaro.org> References: <20180319005056.7380-1-linus.walleij@linaro.org> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org This driver is a pure GPIO driver and should only include . Drop the include of from the platform data header as well, it serves no purpose. Signed-off-by: Linus Walleij --- drivers/gpio/gpio-htc-egpio.c | 1 + include/linux/platform_data/gpio-htc-egpio.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) -- 2.14.3 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/gpio/gpio-htc-egpio.c b/drivers/gpio/gpio-htc-egpio.c index 271356effb2e..516383934945 100644 --- a/drivers/gpio/gpio-htc-egpio.c +++ b/drivers/gpio/gpio-htc-egpio.c @@ -18,6 +18,7 @@ #include #include #include +#include struct egpio_chip { int reg_start; diff --git a/include/linux/platform_data/gpio-htc-egpio.h b/include/linux/platform_data/gpio-htc-egpio.h index b7baf1e42c55..9a3e78082883 100644 --- a/include/linux/platform_data/gpio-htc-egpio.h +++ b/include/linux/platform_data/gpio-htc-egpio.h @@ -6,8 +6,6 @@ #ifndef __HTC_EGPIO_H__ #define __HTC_EGPIO_H__ -#include - /* Descriptive values for all-in or all-out htc_egpio_chip descriptors. */ #define HTC_EGPIO_OUTPUT (~0) #define HTC_EGPIO_INPUT 0