Dne Tuesday 19 of August 2008 07:53:19 Stephen Rothwell napsal(a): > Hi Russell, > > Today's linux-next build (x86_64 allmodconfig) failed like this: > > drivers/input/touchscreen/ucb1400_ts.c: In function > 'ucb1400_ts_detect_irq': drivers/input/touchscreen/ucb1400_ts.c:333: error: > 'NO_IRQ' undeclared (first use in this function) > > I applied the following patch. > -- > Cheers, > Stephen Rothwell sfr@xxxxxxxxxxxxxxxx > http://www.canb.auug.org.au/~sfr/ > > From 3a6383e5556524c941c1421a0e65a0725189ac9e Mon Sep 17 00:00:00 2001 > From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> > Date: Tue, 19 Aug 2008 15:49:30 +1000 > Subject: [PATCH] ucb1400: restore NO_IRQ definition > > This piece of code was removed by commit > 2881353061f896c3894c64e39cf2be35b36aa9fc ("[ARM] 5184/1: Split ucb1400_ts > into core and touchscreen"). > > Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> > --- > drivers/input/touchscreen/ucb1400_ts.c | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/drivers/input/touchscreen/ucb1400_ts.c > b/drivers/input/touchscreen/ucb1400_ts.c index 006499b..5498662 100644 > --- a/drivers/input/touchscreen/ucb1400_ts.c > +++ b/drivers/input/touchscreen/ucb1400_ts.c > @@ -289,6 +289,10 @@ static void ucb1400_ts_close(struct input_dev *idev) > ucb1400_reg_write(ucb->ac97, UCB_TS_CR, 0); > } > > +#ifndef NO_IRQ > +#define NO_IRQ 0 > +#endif > + > /* > * Try to probe our interrupt, rather than relying on lots of > * hard-coded machine dependencies. This is my fault indeed, sorry. I tested only on ARM. -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html