On Fri, 9 Mar 2007 12:03:02 +0900 Nobuhiro Iwamatsu <[EMAIL PROTECTED]> wrote:
> Hi , all . > > Add an RTC driver for Ricoh RS5C313 RTC chip. > drivers/rtc/rtc-rs5c313.c: In function 'rs5c313_read_reg': drivers/rtc/rtc-rs5c313.c:186: warning: implicit declaration of function 'rs5c313_write_data' drivers/rtc/rtc-rs5c313.c:187: warning: implicit declaration of function 'rs5c313_read_data' drivers/rtc/rtc-rs5c313.c: In function 'rs5c313_rtc_read_time': drivers/rtc/rtc-rs5c313.c:208: error: 'RS5C313_CEENABLE' undeclared (first use in this function) drivers/rtc/rtc-rs5c313.c:208: error: (Each undeclared identifier is reported only once drivers/rtc/rtc-rs5c313.c:208: error: for each function it appears in.) drivers/rtc/rtc-rs5c313.c:217: error: 'RS5C313_CEDISABLE' undeclared (first use in this function) drivers/rtc/rtc-rs5c313.c: In function 'rs5c313_rtc_set_time': drivers/rtc/rtc-rs5c313.c:265: error: 'RS5C313_CEENABLE' undeclared (first use in this function) drivers/rtc/rtc-rs5c313.c:273: error: 'RS5C313_MISCOP' undeclared (first use in this function) drivers/rtc/rtc-rs5c313.c:274: error: 'RS5C313_CEDISABLE' undeclared (first use in this function) drivers/rtc/rtc-rs5c313.c: In function 'rs5c313_check_xstp_bit': drivers/rtc/rtc-rs5c313.c:315: error: 'RS5C313_CEENABLE' undeclared (first use in this function) drivers/rtc/rtc-rs5c313.c:324: error: 'RS5C313_MISCOP' undeclared (first use in this function) drivers/rtc/rtc-rs5c313.c:336: error: 'RS5C313_CEDISABLE' undeclared (first use in this function) drivers/rtc/rtc-rs5c313.c: In function 'rs5c313_rtc_init': drivers/rtc/rtc-rs5c313.c:390: warning: implicit declaration of function 'rs5c313_init_port' I think we're missing a header file? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/