summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/gen5200/tod
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-22 02:42:15 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-22 02:42:15 +0000
commit2f00c244bdd2a0ce1147259e65088dbfd17675c2 (patch)
treec3450fff2614adbc7d26e69b73e792e50b252715 /c/src/lib/libbsp/powerpc/gen5200/tod
parent2009-10-22 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-2f00c244bdd2a0ce1147259e65088dbfd17675c2.tar.bz2
2009-10-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* clock/clock.c: Add missing prototypes. Remove argument from clockOff(). * tod/pcf8563.c: Add missing const.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/gen5200/tod')
-rw-r--r--c/src/lib/libbsp/powerpc/gen5200/tod/pcf8563.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen5200/tod/pcf8563.c b/c/src/lib/libbsp/powerpc/gen5200/tod/pcf8563.c
index 76e2922578..a925bd28e4 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/tod/pcf8563.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/tod/pcf8563.c
@@ -172,7 +172,7 @@ pcf8563_get_time(int minor, rtems_time_of_day *time)
* -1, if error occured
*/
int
-pcf8563_set_time(int minor, rtems_time_of_day *time)
+pcf8563_set_time(int minor, const rtems_time_of_day *time)
{
i2c_bus_number bus;
i2c_address addr;