From patchwork Fri Aug 20 22:24:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 500421 Delivered-To: patch@linaro.org Received: by 2002:a02:6f15:0:0:0:0:0 with SMTP id x21csp10178jab; Fri, 20 Aug 2021 15:26:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznYxWG8UkQ8e4kWMRAaobHRhXk9zfomRyLn0nKMBwM1fDDP1CTgdvGlHWYt16kcHjJPj7K X-Received: by 2002:a92:cccd:: with SMTP id u13mr15641704ilq.13.1629498411588; Fri, 20 Aug 2021 15:26:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629498411; cv=none; d=google.com; s=arc-20160816; b=zlKHTJrPYcgVk3KtzgPPgcjuNCJTcOaIcUPc/sNzHBBRXAfHf5idypo7pPn52b6RHy CYpdTLul5Nudol+4iJqki2CuL+wdWVMtXmqMYl4xp9v7pmdiW3i3E431y9sK1RfT5qyv XIV1pga5kH/7GsA5MJtjoN2X1eqQCgtfIFxvXOM8642Ipg1FLVp/+ZDVLuZMT4w1YnSB JlGIBo0/ZnVrcm+AcdAESnB+DFZrUD1/URZFVBrHdfG8EzPjuueAr7N+3Gult73lCOzu QnPl1TtJ1geiQ4XTwSvVTFFxTKTlB+j61/9baL0FT3stT4upLu03BGfXdpvarBIOhV/w Rj4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=VBPKFOdzonYzWHkpWwxMPuwBYpPGflOedk2+9WZL3WY=; b=RUJyR1+DNBGfq/yrkG+Zdo5G7Qmc0vuzxfolbnACqSl0SdQRSwJ9T1WkfjFkgR7smZ 3TqxuVe2xAsj0P31bpq1SrO2J8ZThvOOQtiuiquveDR99IEq0sZod7MvCxVhr2/kcW3X HojPt1dPFHyRGkn2FhNHi3BZV8nOZebLr8W3qdRbSsIo8uBlWiD/9odlOUfyl63lCEg1 mT+C+4F0DZscEfkJuW8G7I8Fj6Fw8/GEefT2+rW6xqKTCg3+zlqDVWyLKTtuLphhZWUL B1FxmBknwaVklXlS1lc9qq/zlFTB+UQcweyYVKZZB0WU8qhCDsk6Z+nBtHxYU5BKLFEp AmlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ofhMeYxQ; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o14si9693067ilj.89.2021.08.20.15.26.51; Fri, 20 Aug 2021 15:26:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ofhMeYxQ; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231378AbhHTW13 (ORCPT + 3 others); Fri, 20 Aug 2021 18:27:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231334AbhHTW12 (ORCPT ); Fri, 20 Aug 2021 18:27:28 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DD62C061575 for ; Fri, 20 Aug 2021 15:26:50 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id o1so5259190lft.9 for ; Fri, 20 Aug 2021 15:26:50 -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:mime-version :content-transfer-encoding; bh=VBPKFOdzonYzWHkpWwxMPuwBYpPGflOedk2+9WZL3WY=; b=ofhMeYxQVzOhrOvSWikcz0nLPPTyezUoUUzLObfB9HP9PNLr3cO+8c4dzIs5od/hyW 6LoqtuW1Rl+utvgW+ZUHQq8MUdHKM1xftcb5KbBegHgWm+tfSpDcIrMvmckQ2X7+oizu mQer7m6v9YDEQkgMuRzHcXjvkEhB245dGEbOuAWbnRNyOi1C4nXPq3pRD18Yyj3wAfMh p6KxkYalQsjuvl1kX6yJ45mA896LJuJdpqF2z5nSr/Tk3tqnGASbCyNC6QHj0fWAGfT8 IKF28RfyyVxNxEiWqz7DK2xNTl1Oe1FIHMEVh+GniWuGjx2+cKBOsA8YX+/QdhVOVyA/ KWVA== 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:mime-version :content-transfer-encoding; bh=VBPKFOdzonYzWHkpWwxMPuwBYpPGflOedk2+9WZL3WY=; b=PeTXrRHtUtSsEC5uWVWyOJ953ZB/huo2Qcx/j0wLDMmuo1EGSToykCOK64pRl5uW+V pvND6H8VS+u9c1bcFlOl2f33PbaK/k4nGJ33otrvZHZQjaDDWn0XllEPxLIvXi5PbFJr 9SFKFDDsRNFODKRRk2ja0Zgs7xA6dFLxiufWtleAdgQmFwu4XsPaWqSZf7jwdDLbJx/u SUoyRg80NG8s1vMXamb9XVteHsXiX2jNdyN1kSq3AYk8XKAiJyoacXRjDHlehEQgOevO mU4hDBjqjEzJCBUXrHFbRRerXT7iqjXf8x1V87WeRlg9gfhYoJZmvu1fKSiQV2nxp3uV UMKg== X-Gm-Message-State: AOAM531/7fANnFsg3uyaJ8uoFNZhxDMHQUkI2sIGcMG7Ahj78zqtMTCt eUyxgKEmts3ndQpWPu5lyf9gFPIn9wyKQw== X-Received: by 2002:a05:6512:3890:: with SMTP id n16mr15952003lft.240.1629498408445; Fri, 20 Aug 2021 15:26:48 -0700 (PDT) Received: from localhost.localdomain (c-fdcc225c.014-348-6c756e10.bbcust.telenor.se. [92.34.204.253]) by smtp.gmail.com with ESMTPSA id z13sm815632lfu.0.2021.08.20.15.26.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Aug 2021 15:26:48 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org, Bartosz Golaszewski Cc: Linus Walleij Subject: [PATCH] gpio: ucb1400: Use proper header Date: Sat, 21 Aug 2021 00:24:46 +0200 Message-Id: <20210820222446.56747-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The UCB1400 implements a GPIO driver so it needs to include the header, not the legacy header. Compile tested on pxa_defconfig. Signed-off-by: Linus Walleij --- drivers/gpio/gpio-ucb1400.c | 1 + include/linux/ucb1400.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpio/gpio-ucb1400.c b/drivers/gpio/gpio-ucb1400.c index d2a8644864c3..ab495095e9bc 100644 --- a/drivers/gpio/gpio-ucb1400.c +++ b/drivers/gpio/gpio-ucb1400.c @@ -7,6 +7,7 @@ #include #include +#include static int ucb1400_gpio_dir_in(struct gpio_chip *gc, unsigned off) { diff --git a/include/linux/ucb1400.h b/include/linux/ucb1400.h index 0968ef458447..3a333652184f 100644 --- a/include/linux/ucb1400.h +++ b/include/linux/ucb1400.h @@ -23,7 +23,7 @@ #include #include #include -#include +#include /* * UCB1400 AC-link registers