From patchwork Wed Aug 14 23:05:02 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 2844858 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id AE36BBF546 for ; Wed, 14 Aug 2013 23:05:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E4FA3206AC for ; Wed, 14 Aug 2013 23:05:41 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 08FB7206A6 for ; Wed, 14 Aug 2013 23:05:41 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V9k8I-000445-Gy; Wed, 14 Aug 2013 23:05:38 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V9k8G-00010e-0d; Wed, 14 Aug 2013 23:05:36 +0000 Received: from mail-pd0-f172.google.com ([209.85.192.172]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V9k8C-0000yZ-Gv for linux-arm-kernel@lists.infradead.org; Wed, 14 Aug 2013 23:05:33 +0000 Received: by mail-pd0-f172.google.com with SMTP id z10so83086pdj.17 for ; Wed, 14 Aug 2013 16:05:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=kFJxtQBf6Q5JJGOTYyD7VoehB57LHgEzFVlsO3dnV3w=; b=RVZoY8yFpK4mtSorRrB0/4W/uPdE5jiiin+PSfXg2okYOup9hYRVGDP8Liyx2S9GNd R5nUfwCdNJWQY5tooYX65UAtKvQFB/gG5JVXYuFI1SsD2Tx8Z1bfyyBsHpfWpAIafefc 4oKzUB6NBfwdkpt+W+tB2FHIWthJJtPX/mqaXeAP5ijorZlHDQ60tJRPr73lk6/Sb/iI TFP17bUlmpWF8kb5agVPfz/u2uHvUZ589z322gOWy3JWhcVagYchb8E96kRSrzZyyAoZ YrHv1U4cog49iuQ9+eVgH6TKsj4bHhuk+v6qWe0KocLHGaEdPUzV4rZUMX4Rs60euZDn LzwA== X-Gm-Message-State: ALoCoQkTU9wryuHgzy8SDBcJKxF0pghlVGkxVvlUJxkdaCzngwYhENkDX2OAuaA9DZOOfiH+af4o X-Received: by 10.68.134.65 with SMTP id pi1mr12465229pbb.59.1376521505459; Wed, 14 Aug 2013 16:05:05 -0700 (PDT) Received: from localhost (c-24-19-7-36.hsd1.wa.comcast.net. [24.19.7.36]) by mx.google.com with ESMTPSA id s6sm55989884pan.12.2013.08.14.16.05.03 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 14 Aug 2013 16:05:04 -0700 (PDT) From: Kevin Hilman To: Mark Brown Subject: [PATCH] regmap: Add another missing header for !CONFIG_REGMAP stubs Date: Wed, 14 Aug 2013 16:05:02 -0700 Message-Id: <1376521502-9370-1-git-send-email-khilman@linaro.org> X-Mailer: git-send-email 1.8.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130814_190532_671153_5A17BA2F X-CRM114-Status: UNSURE ( 8.31 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) Cc: Kevin Hilman , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The use of WARN_ON() needs the definitions from bug.h, without it you can get: include/linux/regmap.h: In function 'regmap_write': include/linux/regmap.h:525:2: error: implicit declaration of function 'WARN_ONCE' [-Werror=implicit-function-declaration] Cc: Mark Brown Signed-off-by: Kevin Hilman --- This one has been showing up in linux-next for a bit under various ARM defconfigs (specifically ape6evm_defconfig and lager_defconfig)u include/linux/regmap.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/regmap.h b/include/linux/regmap.h index bafda87..a10380b 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -16,6 +16,7 @@ #include #include #include +#include struct module; struct device;