public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ian <ian@opensource.wolfsonmicro.com>
To: Anton Vorontsov <cbouatmailru@gmail.com>,
	u.kleine-koenig@pengutronix.de,
	Mark Brown <broonie@opensource.wolfsonmicro.com>,
	Vasily Khoruzhick <anarsoul@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Added #include of module.h to s3c_adc_battery.c
Date: Thu, 18 Aug 2011 11:14:09 +0100	[thread overview]
Message-ID: <1313662449.18176.18.camel@Tapajos> (raw)

s3c_adc_battery.c will not compile without moule.h as it contains the
definitions of: MODULE_AUTHOR, MODULE_DESCRIPTION & MODULE_LICENSE.


Signed-off-by: Ian Lartey <ian@opensource.wolfsonmicro.com>
---
 drivers/power/s3c_adc_battery.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/power/s3c_adc_battery.c b/drivers/power/s3c_adc_battery.c
index a675e31..20770ba 100644
--- a/drivers/power/s3c_adc_battery.c
+++ b/drivers/power/s3c_adc_battery.c
@@ -9,6 +9,7 @@
  *
  */
 
+#include <linux/module.h>
 #include <linux/interrupt.h>
 #include <linux/platform_device.h>
 #include <linux/power_supply.h>
-- 
1.7.4.1






             reply	other threads:[~2011-08-18 10:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-18 10:14 Ian [this message]
2011-08-18 10:21 ` [PATCH] Added #include of module.h to s3c_adc_battery.c Vasily Khoruzhick
2011-08-18 10:34   ` Ian
2011-08-18 16:06     ` Mark Brown
2011-08-19 16:55       ` Anton Vorontsov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1313662449.18176.18.camel@Tapajos \
    --to=ian@opensource.wolfsonmicro.com \
    --cc=anarsoul@gmail.com \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=cbouatmailru@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=u.kleine-koenig@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox