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:
MohanKumar Kumar 2022-03-10 10:47:38 -08:00 committed by Carles Cufí
parent 01002a3c8d
commit a2e3774e54
1 changed files with 1 additions and 1 deletions

View File

@ -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