bmips: bcm6368-enetsw: harmonize dev variables
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 28 Mar 2023 16:34:46 +0000 (18:34 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 28 Mar 2023 16:34:46 +0000 (18:34 +0200)
commit33f59ebd1f4dc8add7562b399f127995c1f52e47
treed5a43dc5a38019bf4cfd4ce03a78f6fcc8b1be30
parent741780bd938e39a69d757e82d7474ed004dfe9fc
bmips: bcm6368-enetsw: harmonize dev variables

The current implementation of bcm6368-enetsw is a mess of dev, ndev and kdev
variables, which have refer to different things depending on the function.
This commit harmonizes it and resolves the issue.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/bmips/files/drivers/net/ethernet/broadcom/bcm6368-enetsw.c