diff --git a/bsps/m68k/mcf5329/btimer/btimer.c b/bsps/m68k/mcf5329/btimer/btimer.c index fb0d450a76..6366f99347 100644 --- a/bsps/m68k/mcf5329/btimer/btimer.c +++ b/bsps/m68k/mcf5329/btimer/btimer.c @@ -40,4 +40,6 @@ benchmark_timer_t benchmark_timer_read(void) void benchmark_timer_disable_subtracting_average_overhead(bool find_flag) { + (void) find_flag; + } diff --git a/bsps/m68k/mcf5329/clock/clock.c b/bsps/m68k/mcf5329/clock/clock.c index 5d06d4c4ae..ad2656fe7b 100644 --- a/bsps/m68k/mcf5329/clock/clock.c +++ b/bsps/m68k/mcf5329/clock/clock.c @@ -15,11 +15,15 @@ static rtems_timecounter_simple mcf5329_tc; static uint32_t mcf5329_tc_get(rtems_timecounter_simple *tc) { + (void) tc; + return MCF_PIT3_PCNTR; } static bool mcf5329_tc_is_pending(rtems_timecounter_simple *tc) { + (void) tc; + return (MCF_PIT3_PCSR & MCF_PIT_PCSR_PIF) != 0; } @@ -34,6 +38,8 @@ static uint32_t mcf5329_tc_get_timecount(struct timecounter *tc) static void mcf5329_tc_at_tick(rtems_timecounter_simple *tc) { + (void) tc; + MCF_PIT3_PCSR |= MCF_PIT_PCSR_PIF; } diff --git a/bsps/m68k/mcf5329/console/console.c b/bsps/m68k/mcf5329/console/console.c index 797e5b0606..0c74106396 100644 --- a/bsps/m68k/mcf5329/console/console.c +++ b/bsps/m68k/mcf5329/console/console.c @@ -374,6 +374,9 @@ static ssize_t IntUartInterruptWrite(int minor, const char *buf, size_t len) ***************************************************************************/ static int IntUartInterruptOpen(int major, int minor, void *arg) { + (void) major; + (void) arg; + struct IntUartInfoStruct *info = &IntUartInfo[minor]; /* enable the uart */ @@ -402,6 +405,9 @@ static int IntUartInterruptOpen(int major, int minor, void *arg) ***************************************************************************/ static int IntUartInterruptClose(int major, int minor, void *arg) { + (void) major; + (void) arg; + struct IntUartInfoStruct *info = &IntUartInfo[minor]; /* disable the interrupts and the uart */ @@ -507,6 +513,8 @@ rtems_device_driver console_initialize(rtems_device_major_number major, rtems_device_minor_number minor, void *arg) { + (void) arg; + rtems_status_code status; /* Set up TERMIOS */ @@ -630,6 +638,9 @@ rtems_device_driver console_open(rtems_device_major_number major, rtems_device_driver console_close(rtems_device_major_number major, rtems_device_minor_number minor, void *arg) { + (void) major; + (void) minor; + return (rtems_termios_close(arg)); } @@ -641,6 +652,9 @@ rtems_device_driver console_close(rtems_device_major_number major, rtems_device_driver console_read(rtems_device_major_number major, rtems_device_minor_number minor, void *arg) { + (void) major; + (void) minor; + return (rtems_termios_read(arg)); } @@ -652,6 +666,9 @@ rtems_device_driver console_read(rtems_device_major_number major, rtems_device_driver console_write(rtems_device_major_number major, rtems_device_minor_number minor, void *arg) { + (void) major; + (void) minor; + return (rtems_termios_write(arg)); } @@ -664,5 +681,8 @@ rtems_device_driver console_control(rtems_device_major_number major, rtems_device_minor_number minor, void *arg) { + (void) major; + (void) minor; + return (rtems_termios_ioctl(arg)); }