lkml.org 
[lkml]   [2011]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Added #include of module.h to s3c_adc_battery.c
Date
On Thursday 18 August 2011 13:14:09 Ian wrote:
> s3c_adc_battery.c will not compile without moule.h as it contains the
> definitions of: MODULE_AUTHOR, MODULE_DESCRIPTION & MODULE_LICENSE.

I've already sent pretty same patch a ~week ago, here it is:
https://patchwork.kernel.org/patch/1061302/

Regards
Vasily

>
> 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>


\
 
 \ /
  Last update: 2011-08-18 12:25    [W:0.044 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site