Messages in this thread | | | From | Vasily Khoruzhick <> | Subject | Re: [PATCH] Added #include of module.h to s3c_adc_battery.c | Date | Thu, 18 Aug 2011 13:21:10 +0300 |
| |
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>
| |