* [PATCH -next] power: max8997_charger.c needs module.h
@ 2011-07-31 23:29 Axel Lin
0 siblings, 0 replies; 3+ messages in thread
From: Axel Lin @ 2011-07-31 23:29 UTC (permalink / raw)
To: linux-kernel; +Cc: MyungJoo Ham, Anton Vorontsov, Donggeun Kim
power/max8997_charger.c uses interfaces from linux/module.h,
so it should include that file. This fixes build errors.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/power/max8997_charger.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/power/max8997_charger.c b/drivers/power/max8997_charger.c
index 9848fb8..e12b4a2 100644
--- a/drivers/power/max8997_charger.c
+++ b/drivers/power/max8997_charger.c
@@ -20,6 +20,7 @@
*/
#include <linux/err.h>
+#include <linux/module.h>
#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/power_supply.h>
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH -next] power: max8997_charger.c needs module.h
@ 2011-08-01 2:19 MyungJoo Ham
2011-08-19 17:01 ` Anton Vorontsov
0 siblings, 1 reply; 3+ messages in thread
From: MyungJoo Ham @ 2011-08-01 2:19 UTC (permalink / raw)
To: Axel Lin, linux-kernel@vger.kernel.org
Cc: Anton Vorontsov, 김동근
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=euc-kr, Size: 756 bytes --]
Sender : Axel Lin<axel.lin@gmail.com>
Date : 2011-08-01 08:29 (GMT+09:00)
>
> power/max8997_charger.c uses interfaces from linux/module.h,
> so it should include that file. This fixes build errors.
>
> Signed-off-by: Axel Lin
> ---
> drivers/power/max8997_charger.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
Whoops. Wondering how that was missed... :(
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
MyungJoo Ham (ÇÔ¸íÁÖ)
Mobile Software Platform Lab,
Digital Media and Communications (DMC) Business
Samsung Electronics
cell: +82-10-6714-2858 / office: +82-31-279-8033ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next] power: max8997_charger.c needs module.h
2011-08-01 2:19 MyungJoo Ham
@ 2011-08-19 17:01 ` Anton Vorontsov
0 siblings, 0 replies; 3+ messages in thread
From: Anton Vorontsov @ 2011-08-19 17:01 UTC (permalink / raw)
To: MyungJoo Ham
Cc: Axel Lin, linux-kernel@vger.kernel.org, 김동근
On Mon, Aug 01, 2011 at 02:19:34AM +0000, MyungJoo Ham wrote:
> Sender : Axel Lin<axel.lin@gmail.com>
> Date : 2011-08-01 08:29 (GMT+09:00)
> >
> > power/max8997_charger.c uses interfaces from linux/module.h,
> > so it should include that file. This fixes build errors.
> >
> > Signed-off-by: Axel Lin
> > ---
> > drivers/power/max8997_charger.c | 1 +
> > 1 files changed, 1 insertions(+), 0 deletions(-)
>
> Whoops. Wondering how that was missed... :(
>
> Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Applied, thanks!
--
Anton Vorontsov
Email: cbouatmailru@gmail.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-19 17:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-31 23:29 [PATCH -next] power: max8997_charger.c needs module.h Axel Lin
-- strict thread matches above, loose matches on Subject: below --
2011-08-01 2:19 MyungJoo Ham
2011-08-19 17:01 ` Anton Vorontsov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox