From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: [PATCH -next] power: max8998_charger.c needs module.h Date: Fri, 29 Jul 2011 21:11:43 -0700 Message-ID: <20110729211143.0a9d6ed7.rdunlap@xenotime.net> References: <20110729173827.716f57ff6e00095a3efc6449@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from oproxy9.bluehost.com ([69.89.24.6]:53784 "HELO oproxy9.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751009Ab1G3EPR (ORCPT ); Sat, 30 Jul 2011 00:15:17 -0400 In-Reply-To: <20110729173827.716f57ff6e00095a3efc6449@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell , Anton Vorontsov , David Woodhouse Cc: linux-next@vger.kernel.org, LKML , akpm From: Randy Dunlap power/max8998_charger.c uses interfaces from linux/module.h, so it should include that file. This fixes build errors. Signed-off-by: Randy Dunlap --- drivers/power/max8998_charger.c | 1 + 1 file changed, 1 insertion(+) --- linux-next-20110729.orig/drivers/power/max8998_charger.c +++ linux-next-20110729/drivers/power/max8998_charger.c @@ -20,6 +20,7 @@ */ #include +#include #include #include #include