Skip to content
Commit 8ad25bf8 authored by Ben Warren's avatar Ben Warren Committed by Wolfgang Denk
Browse files

Net: clarify board/cpu_eth_init calls



This has always been confusing, and the idea of these functions returning the
number of interfaces initialized was half-baked and ultimately pointless.
Instead, act more like regular functions and return < 0 on failure, >= 0 on
success.

This change shouldn't break anything.

Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
parent a98ae78f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment