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: 1150016 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="zUk8Yov0"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 46CS9T69dFz9sBF for ; Tue, 20 Aug 2019 20:45:01 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728842AbfHTKpA (ORCPT ); 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-Google-Smtp-Source: APXvYqwkZEY0jPfqs1YTm1+Zh8i2/iaxcv0HwDvu+osfqk1z8H1LPYFX0Da+mujWexI0MCVN0AZ29g== 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(-) 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