bsps/powerpc/shared/clock/p_clock.c: Fix compile error

The error was referencing a field in the rtems_irq_connect_data
structure which only existed when BSP_SHARED_HANDLER_SUPPORT is
enabled.

Updates #5325.
This commit is contained in:
Joel Sherrill
2025-10-14 08:44:15 -05:00
committed by Gedare Bloom
parent 363afebd67
commit 62e0865bcc

View File

@@ -28,8 +28,7 @@ static rtems_irq_connect_data clockIrqData = {
.handle = NULL,
.on = (rtems_irq_enable)clockOn,
.off = (rtems_irq_disable)clockOff,
.isOn = (rtems_irq_is_enabled) clockIsOn,
.next_handler = NULL
.isOn = (rtems_irq_is_enabled) clockIsOn
};
int BSP_disconnect_clock_handler(void)