summaryrefslogtreecommitdiff
path: root/driver/ppc/syv682x.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/ppc/syv682x.c')
-rw-r--r--driver/ppc/syv682x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/ppc/syv682x.c b/driver/ppc/syv682x.c
index 0ea005051f..81a2034577 100644
--- a/driver/ppc/syv682x.c
+++ b/driver/ppc/syv682x.c
@@ -489,7 +489,7 @@ static void syv682x_handle_interrupt(int port)
static void syv682x_irq_deferred(void)
{
int i;
- uint32_t pending = atomic_read_clear(&irq_pending);
+ uint32_t pending = deprecated_atomic_read_clear(&irq_pending);
for (i = 0; i < board_get_usb_pd_port_count(); i++)
if (BIT(i) & pending)
@@ -499,7 +499,7 @@ DECLARE_DEFERRED(syv682x_irq_deferred);
static void syv682x_interrupt_delayed(int port, int delay)
{
- atomic_or(&irq_pending, BIT(port));
+ deprecated_atomic_or(&irq_pending, BIT(port));
hook_call_deferred(&syv682x_irq_deferred_data, delay * MSEC);
}