Messages in this thread | | | Subject | Re: [PATCH] Added #include of module.h to s3c_adc_battery.c | From | Ian <> | Date | Thu, 18 Aug 2011 11:34:48 +0100 |
| |
On Thu, 2011-08-18 at 13:21 +0300, Vasily Khoruzhick wrote: > 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/
Ah, apologies - please disregard this patch then.
Regards Ian
> > 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>
| |