Re: [PATCH] Added #include of module.h to s3c_adc_battery.c

From: Vasily Khoruzhick
Date: Thu Aug 18 2011 - 06:22:23 EST


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@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> ---
> 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>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/