From patchwork Wed Jun 8 09:02:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 69590 Delivered-To: patch@linaro.org Received: by 10.140.106.246 with SMTP id e109csp2382501qgf; Wed, 8 Jun 2016 02:02:58 -0700 (PDT) X-Received: by 10.36.121.202 with SMTP id z193mr10938169itc.9.1465376577609; Wed, 08 Jun 2016 02:02:57 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ai10si325493pad.165.2016.06.08.02.02.57; Wed, 08 Jun 2016 02:02:57 -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; 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 dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932551AbcFHJCy (ORCPT + 4 others); Wed, 8 Jun 2016 05:02:54 -0400 Received: from mail-lf0-f46.google.com ([209.85.215.46]:34458 "EHLO mail-lf0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753098AbcFHJCw (ORCPT ); Wed, 8 Jun 2016 05:02:52 -0400 Received: by mail-lf0-f46.google.com with SMTP id s186so1332169lfs.1 for ; Wed, 08 Jun 2016 02:02:52 -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; bh=6NTQgPTBJDnywe6eiMDSw8kb91XqK1Xuhk5GpHLxBsc=; b=SFE3xooO7ayYxN0DhTHsCD+KDeGZlMCHPs+yXNTOscJBrKNZ9r05oD2Vz94fJuQn2r JHX6F7CUPoaTj9TOZlh78Ajk94B6U6Wa7t7nHb+kDV3zkIkMVxytraTmMO88xstEvzCw UAw5q9cDnPcBgnKKs4SVz+/bcQ2MncfIhT+sk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=6NTQgPTBJDnywe6eiMDSw8kb91XqK1Xuhk5GpHLxBsc=; b=VcLv6xYSDArmblJcWIEKWlHAl1hagdLzrgxL+A9EbC1BcQmSaPAkrWlbIDVkZP4d3L HFA06lv/TH1AVg6As8xFF+r3wrUEx6QxHpkJl19Sadj+qq5V2GMvPn+1s4Qc0RQqbToh yoFRXgfpatf8LviGzTPntWADVK5xMWHmp3fcoc49l5zxZIVbZgpojOjJ2rPh16q0CDAu VgmC3AP11MSbP/xHfwoCp+GDI5vOYdaJ5gpQbix//xPX+m/4nNnFiBq3MvwUPqiZcIbb e9Na+dzfnrrFmLpwgxwnfngvWpod+l7cGST1zP3eP43c5E1cobJRhIRq1vJ+Y5TPnyOP 4YkQ== X-Gm-Message-State: ALyK8tLICZn1/Toxclbo8Sl0YrAjwyNaKwTbHkeb9evzUUsCfnJtpPIoi1pR3+GozSRTb3Lh X-Received: by 10.25.29.138 with SMTP id d132mr4306142lfd.142.1465376570910; Wed, 08 Jun 2016 02:02:50 -0700 (PDT) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id 75sm28684lfq.25.2016.06.08.02.02.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jun 2016 02:02:50 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org, Alexandre Courbot Cc: Linus Walleij Subject: [PATCH] gpio: include in gpiolib-of Date: Wed, 8 Jun 2016 11:02:46 +0200 Message-Id: <1465376566-29052-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.11 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org When enabling the gpiolib for all archs a build robot came up with this: All errors (new ones prefixed by >>): drivers/gpio/gpiolib-of.c: In function 'of_mm_gpiochip_add_data': >> drivers/gpio/gpiolib-of.c:317:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration] iounmap(mm_gc->regs); ^~~~~~~ cc1: some warnings being treated as errors Fix this by including explicitly. Fixes: 296ad4acb8ef ("gpio: remove deps on ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB") Reported-by: kbuild test robot Signed-off-by: Linus Walleij --- drivers/gpio/gpiolib-of.c | 1 + 1 file changed, 1 insertion(+) -- 2.4.11 -- 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/gpiolib-of.c b/drivers/gpio/gpiolib-of.c index d22dcc38179d..4aabddb38b59 100644 --- a/drivers/gpio/gpiolib-of.c +++ b/drivers/gpio/gpiolib-of.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include