SAMv7 Ethernet: Fix a return value type.

This commit is contained in:
Gregory Nutt 2017-03-03 19:16:48 -06:00
parent 0f25b0a9f1
commit ff20d22f66

View File

@ -319,7 +319,7 @@ int arch_phy_irq(FAR const char *intf, xcpt_t handler, void *arg,
else else
{ {
nerr("ERROR: Unsupported interface: %s\n", intf); nerr("ERROR: Unsupported interface: %s\n", intf);
return NULL; return -EINVAL;
} }
/* Disable interrupts until we are done. This guarantees that the /* Disable interrupts until we are done. This guarantees that the