forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
||||
2009-10-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* clock/clock.c: Update for interrupt handler type change.
|
||||
|
||||
@@ -219,7 +219,7 @@ uint32_t mpc5200_check_gpt_status(uint32_t gpt_no)
|
||||
return ((gpt->emsel) & (GPT_EMSEL_CE | GPT_EMSEL_INTEN));
|
||||
}
|
||||
|
||||
void clockOn()
|
||||
void clockOn(void)
|
||||
{
|
||||
uint32_t gpt_no;
|
||||
|
||||
@@ -234,7 +234,7 @@ void clockOn()
|
||||
ClockInitialized = 1;
|
||||
}
|
||||
|
||||
void clockOff()
|
||||
void clockOff(void)
|
||||
{
|
||||
uint32_t gpt_no;
|
||||
|
||||
@@ -262,7 +262,7 @@ int BSP_disconnect_clock_handler (unsigned gpt_no)
|
||||
return 0;
|
||||
}
|
||||
|
||||
clockOff( BSP_PERIODIC_TIMER);
|
||||
clockOff();
|
||||
|
||||
sc = rtems_interrupt_handler_remove(
|
||||
BSP_PERIODIC_TIMER,
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user