drivers: eth: stellaris: Fix build error
Use the correct variable name in eth_stellaris, which fixes the build error. Signed-off-by: MohanKumar Kumar <mohankm@fb.com>
This commit is contained in:
parent
01002a3c8d
commit
a2e3774e54
|
@ -293,7 +293,7 @@ static struct net_stats_eth *eth_stellaris_stats(const struct device *dev)
|
|||
{
|
||||
struct eth_stellaris_runtime *dev_data = dev->data;
|
||||
|
||||
return &data->stats;
|
||||
return &dev_data->stats;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue