| Submitter | Fabio Estevam |
|---|---|
| Date | Aug. 30, 2011, 3:12 a.m. |
| Message ID | <1314673939-22652-1-git-send-email-festevam@gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/112173/ |
| State | New |
| Headers | show |
Comments
Hello, [added akpm to Cc: and bounced him the original mail] On Tue, Aug 30, 2011 at 12:12:19AM -0300, Fabio Estevam wrote: > This patch fixes the following build issue: > > CC drivers/rtc/rtc-imxdi.o > drivers/rtc/rtc-imxdi.c: In function 'di_write_wait': > drivers/rtc/rtc-imxdi.c:168: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) > drivers/rtc/rtc-imxdi.c:168: error: (Each undeclared identifier is reported only once > drivers/rtc/rtc-imxdi.c:168: error: for each function it appears in.) > drivers/rtc/rtc-imxdi.c:168: error: implicit declaration of function 'signal_pending' > drivers/rtc/rtc-imxdi.c:168: error: implicit declaration of function 'schedule_timeout' > drivers/rtc/rtc-imxdi.c: In function 'dryice_norm_irq': > drivers/rtc/rtc-imxdi.c:329: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) > make[2]: *** [drivers/rtc/rtc-imxdi.o] Error 1 > make[1]: *** [drivers/rtc] Error 2 > make: *** [drivers] Error 2 > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> > --- > drivers/rtc/rtc-imxdi.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/drivers/rtc/rtc-imxdi.c b/drivers/rtc/rtc-imxdi.c > index 2dd3c01..3752bf7 100644 > --- a/drivers/rtc/rtc-imxdi.c > +++ b/drivers/rtc/rtc-imxdi.c > @@ -36,6 +36,7 @@ > #include <linux/platform_device.h> > #include <linux/rtc.h> > #include <linux/workqueue.h> > +#include <linux/sched.h> > > /* DryIce Register Definitions */ > > -- > 1.6.0.4 > >
Patch
diff --git a/drivers/rtc/rtc-imxdi.c b/drivers/rtc/rtc-imxdi.c index 2dd3c01..3752bf7 100644 --- a/drivers/rtc/rtc-imxdi.c +++ b/drivers/rtc/rtc-imxdi.c @@ -36,6 +36,7 @@ #include <linux/platform_device.h> #include <linux/rtc.h> #include <linux/workqueue.h> +#include <linux/sched.h> /* DryIce Register Definitions */
This patch fixes the following build issue: CC drivers/rtc/rtc-imxdi.o drivers/rtc/rtc-imxdi.c: In function 'di_write_wait': drivers/rtc/rtc-imxdi.c:168: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) drivers/rtc/rtc-imxdi.c:168: error: (Each undeclared identifier is reported only once drivers/rtc/rtc-imxdi.c:168: error: for each function it appears in.) drivers/rtc/rtc-imxdi.c:168: error: implicit declaration of function 'signal_pending' drivers/rtc/rtc-imxdi.c:168: error: implicit declaration of function 'schedule_timeout' drivers/rtc/rtc-imxdi.c: In function 'dryice_norm_irq': drivers/rtc/rtc-imxdi.c:329: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) make[2]: *** [drivers/rtc/rtc-imxdi.o] Error 1 make[1]: *** [drivers/rtc] Error 2 make: *** [drivers] Error 2 Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> --- drivers/rtc/rtc-imxdi.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)