From patchwork Tue Aug 20 10:42:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 171789 Delivered-To: patch@linaro.org Received: by 2002:ac9:5c4b:0:0:0:0:0 with SMTP id r11csp3921782ocp; Tue, 20 Aug 2019 03:45:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqxzf37cpqrgIRXgdyb+xdyktO8g6QmXqRqHJAbCdh4bSIldalSdEISVJd6FtcbtiUn9TakO X-Received: by 2002:a17:90a:fe0c:: with SMTP id ck12mr26080693pjb.74.1566297901077; Tue, 20 Aug 2019 03:45:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566297901; cv=none; d=google.com; s=arc-20160816; b=Ut4lyTTqTtVhrqdDQNytTPPzjZC62HovxSvDjx+C8DU5CIk9p31mmxbvmdzyLtk3rU qTIpdD+fP5Dvipx7ASTzqJ99JnZJWSuffUjH12QSTwG3gSE4LFotdjGdsQ0BLH9cHOez lMzFSSuk6pmCv7/+R+RpnuDNF93zNkaD7Ad6ezcUcSWk6DHkAutMeUWwA0whW0lg4fE1 7OH7SMGEZSoZ6G2H3hi+xt3gxeUs4EbflCGNmCJERj9rg1UUa8hX0/klPKR7Bu41gpat IhVgt03pchiEEpbWRETtjAo7SUeRVQYmxAUCy2ikN80D3vg7PdRqcNN3jAmf3vUdqhzs EWZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=VS2A/MGxcv136Tyz3Wg2LYYCQiqddtxRKAPYDKMz2v8=; b=IyolCADKx+nDVgRt2+Zq95LpxSJX92gNCrGBYOCnnEFRAqjzQJC8k6/3sU6JkCsiXR 0Me0BPPNImv8SXdsjV8Acu5LE4O+XeLpU12wNXW0jGWhKeTnxQ6lgps7bCmHO2u/6jLL 0D4Lt8Sbv1766P8nYmptBh9dUA6ogiM1Z9mmV4oK3x3yKINHeNBGVNPBjuM0FEwklac/ E61xVimV9KxCnX6aZNanvvQo5gTVh3qgyNXHvn7Mb45v9koZP2PmGXlseIzbAxSqxB6s GRIo/ZBZJAHs3Pk4h4gcayLT+FjkPzqShvksRZ15sEEeCbGV6lMLRfz63PoPjPTtszF0 2b6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zUk8Yov0; 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=pass (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 d9si4844890plj.138.2019.08.20.03.45.00; Tue, 20 Aug 2019 03:45:01 -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=pass header.i=@linaro.org header.s=google header.b=zUk8Yov0; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728842AbfHTKpA (ORCPT + 5 others); Tue, 20 Aug 2019 06:45:00 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:42379 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728426AbfHTKpA (ORCPT ); Tue, 20 Aug 2019 06:45:00 -0400 Received: by mail-lj1-f193.google.com with SMTP id l14so4643469ljj.9 for ; Tue, 20 Aug 2019 03:44:58 -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=VS2A/MGxcv136Tyz3Wg2LYYCQiqddtxRKAPYDKMz2v8=; b=zUk8Yov031bCYvyNw4aC5Zb/GdsfSwJuDlPJzbyDRYY2J2gcjzR879aooluntnVJXV my++2cA2g2R6SopJIugaAHOCuaYO0O89Hcsf1ZzyyQ9M7ChC6YQ8L+udNuk0MZF7aS0K c0FSQEKDQYC66tXEGHTMIUy4g6wLkFoR35pXY1JOtNEDIAvz7tCKV4FA5GSZNOy09YfJ KyylY3ek7w8puWYYEsu7NoCnlMLRudinLVWcR3pzomDuNJ8xb+ZYeT9W/q5ZwG29Fjuv G2jn/dKhfw/BGy2aEcCRf/Cd8KG9YD5IwkUMbE6I0K8f97AOPUd3Flgk1x2kdV6YLdSD kn9g== 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=VS2A/MGxcv136Tyz3Wg2LYYCQiqddtxRKAPYDKMz2v8=; b=dYideNyspdYTiIGeh7R02jCGs0ChUQ8wChPmMOoaC7pnu/GobgwEZwV/eWSTJ+aK9a pEGMq/CHz9SMsK6JbGsdH7K4XBlPCF1RoeT5V7C7YZesjGR3PX/veHlXytvm87EyDJMh mLLRiSm2xWk1BmkoW12j74TM8I4BMOxJQ7aRAw4lyAZrb2e2dii1zJllEs5KSZ5Pyn3h pg1xY1WrHmMfyNvkrpYjl34J8CJPtuw0sZFd54bZbg4ryWWgd3l56hLlLKkdha8/JfFx tZjvq5FYDnwMm9ZV6/1quCBY0A1WUc7cOZ0FyNNaye37qXOq7W6CvkkY1ochuvbBoesH 9pKQ== X-Gm-Message-State: APjAAAVaxdp36G6+ZJJaI2i8kMGOqQ5+ptSorwhiO114NA7T2dHzFkjp Xhb2ClOuEq7VtmzC2HBTLTTnjrTWdQafUg== X-Received: by 2002:a2e:980d:: with SMTP id a13mr15314254ljj.145.1566297897906; Tue, 20 Aug 2019 03:44:57 -0700 (PDT) Received: from localhost.localdomain (c-79c8225c.014-348-6c756e10.bbcust.telenor.se. [92.34.200.121]) by smtp.gmail.com with ESMTPSA id v16sm2773322lje.58.2019.08.20.03.44.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2019 03:44:56 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Linus Walleij , Chris Brandt , Geert Uytterhoeven Subject: [PATCH] pinctrl: rza2: Include the appropriate headers Date: Tue, 20 Aug 2019 12:42:52 +0200 Message-Id: <20190820104252.8255-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org This driver is implementing a GPIO driver so include and not the legacy API . When testing it turns out it also relies on implicit inclusion of (readw etc) so make sure to include that as well. Cc: Chris Brandt Cc: Geert Uytterhoeven Signed-off-by: Linus Walleij --- Geert: assuming you will pick this up if you're happy with it. --- drivers/pinctrl/pinctrl-rza2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.21.0 diff --git a/drivers/pinctrl/pinctrl-rza2.c b/drivers/pinctrl/pinctrl-rza2.c index 5b951c7422cc..a39e1c35724e 100644 --- a/drivers/pinctrl/pinctrl-rza2.c +++ b/drivers/pinctrl/pinctrl-rza2.c @@ -11,7 +11,8 @@ */ #include -#include +#include +#include #include #include #include