bsp/leon3: Updat due to API changes

This commit is contained in:
Sebastian Huber
2020-10-26 15:09:36 +01:00
parent 273613f1a8
commit db94626bc3

View File

@@ -42,7 +42,7 @@ int rtems_leon_greth_driver_attach(
if (adev) {
apb = DEV_TO_APB(adev);
base_addr = apb->start;
eth_irq = apb->irq;
eth_irq = apb->common.irq;
/* clear control register and reset NIC */
*(volatile int *) base_addr = 0;