[Top] [All Lists]

Re: Kernel compile error - rtc.c

To: Etienne Bauermeister <>
Subject: Re: Kernel compile error - rtc.c
From: Ralf Baechle <>
Date: Thu, 3 Feb 2005 14:23:16 +0100
In-reply-to: <000f01c509cb$c7420190$642aa8c0@of0>
Original-recipient: rfc822;
References: <000f01c509cb$c7420190$642aa8c0@of0>
User-agent: Mutt/1.4.1i
On Thu, Feb 03, 2005 at 10:38:47AM +0200, Etienne Bauermeister wrote:

> CC      drivers/char/rtc.o
> drivers/char/rtc.c: In function `rtc_init':
> drivers/char/rtc.c:955: `r' undeclared (first use in this function)
> drivers/char/rtc.c:955: (Each undeclared identifier is reported only
> once
> drivers/char/rtc.c:955: for each function it appears in.)

Know problem, sorry.

> I understand that the variable 'r' is not declared and this causes the
> error, but I don't know where to declare it or am I completely wrong and
> something else is at fault?  Please provide some help with this.  
> A second question relates to some warnings I got earlier in the
> compilation process stating that some 'variables' (I assume) are
> 'deprecated'.  Is this anything to be concerned about?

It means it's team to update the code to use a newer API before the old,
deprecated one is going to be removed.  Remember, you've been warned :-)


<Prev in Thread] Current Thread [Next in Thread>