Re: [PATCH] Add driver for ARM AMBA PL031 RTC

From: Alessandro Zummo
Date: Fri May 19 2006 - 03:02:06 EST


On Thu, 18 May 2006 14:14:13 -0700
Deepak Saxena <dsaxena@xxxxxxxxxxx> wrote:

> On May 17 2006, at 01:02, Alessandro Zummo was caught saying:
> > > + case RTC_AIE_ON:
> > > + __raw_writel(0, ldata->base + RTC_MIS);
> > > + return 0;
> > > + }
> > > +
> > > + return -EINVAL;
> > > +}
> >
> > pleasew return -ENOIOCTLCMD instead of -EINVAL . I know, I will have
> > to fix the other drivers to do the same.
>
> So I just tried building my kernel and this symbol is not defined...
> Do you have a separate patch that defines it or is it just in -mm?

it's in linux/errno.h

--

Best regards,

Alessandro Zummo,
Tower Technologies - Turin, Italy

http://www.towertech.it

-
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/