patch-2.3.16 linux/drivers/char/rtc.c

Next file: linux/drivers/char/selection.c
Previous file: linux/drivers/char/rocket.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.15/linux/drivers/char/rtc.c linux/drivers/char/rtc.c
@@ -551,7 +551,7 @@
 	return -EIO;
 
 found:
-	rtc_port = edev->base_address[0];
+	rtc_port = edev->resource[0].start;
 	rtc_irq = edev->irqs[0];
 	/*
 	 * XXX Interrupt pin #7 in Espresso is shared between RTC and

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)