unsigned char ret; 
int ret; 
pcf8563_init(void){	unsigned char ret;	i2c_init();	/*	 * First of all we need to reset the chip. This is done by	 * clearing control1, control2 and clk freq, clear the 	 * Voltage Low bit, and resetting all alarms.	 */	if (rtc_write(RTC_CONTROL1, 0x00) < 0)		goto err;	if (rtc_write(RTC_CONTROL2, 0x00) < 0)		goto err;	if (rtc_write(RTC_CLOCKOUT_FREQ, 0x00) < 0)		goto err;	/* Clear the VL bit in the seconds register. */	ret = rtc_read(RTC_SECONDS);		if (rtc_write(RTC_SECONDS, (ret & 0x7f)) < 0)		goto err;			/* Reset the alarms. */	if (rtc_write(RTC_MINUTE_ALARM, 0x00) < 0)		goto err;		if (rtc_write(RTC_HOUR_ALARM, 0x00) < 0)		goto err;		if (rtc_write(RTC_DAY_ALARM, 0x00) < 0)		goto err;		if (rtc_write(RTC_WEEKDAY_ALARM, 0x00) < 0)		goto err;        	/* Check for low voltage, and warn about it.. */	if (rtc_read(RTC_SECONDS) & 0x80)		printk(KERN_WARNING "%s: RTC Low Voltage - date/time is not reliable!\n", PCF8563_NAME);		return 0;err:	printk(KERN_INFO "%s: Error initializing chip.\n", PCF8563_NAME);	return -1;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/7e9204265b4ec6680fad9abc7a78b94087983916/pcf8563.c/clean/arch/cris/arch-v10/drivers/pcf8563.c