From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-Id: <20130911042933.072482985@goodmis.org> Date: Wed, 11 Sep 2013 00:31:10 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Kevin Hilman , Mark Brown Subject: [243/251] regmap: Add another missing header for !CONFIG_REGMAP stubs References: <20130911042707.738353451@goodmis.org> Content-Disposition: inline; filename=0243-regmap-Add-another-missing-header-for-CONFIG_REGMAP-.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: 3.6.11.9-rc1 stable review patch. If anyone has any objections, please let me know. ------------------ From: Kevin Hilman [ Upstream commit 3f0fa9a808f98fa10a18ba2a73f13d65fda990fb ] 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] Signed-off-by: Kevin Hilman Signed-off-by: Mark Brown Cc: stable@vger.kernel.org Signed-off-by: Steven Rostedt --- include/linux/regmap.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 519d5f2..db23dde 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -16,6 +16,7 @@ #include #include #include +#include struct module; struct device; -- 1.7.10.4