ath25: fix ethernet supported link modes for ar2313
authorSergey Ryazanov <ryazanov.s.a@gmail.com>
Sun, 6 Sep 2020 15:00:08 +0000 (17:00 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 6 Sep 2020 17:49:37 +0000 (19:49 +0200)
commit36e06497f4612a8b7b341dc3834c7281ac8a9b27
treeafc69635ac17c7cba33c7788c22ea4bf7ed64e7f
parent1a4c1d64bc8c7536cbfc84fd0f11037d09ecd2d3
ath25: fix ethernet supported link modes for ar2313

Rework ethernet supported link modes to linkmode bitmask.

This is needed to suppress compilation errors:

   drivers/net/ethernet/atheros/ar231x/ar231x.c:1153:20: ...
     error: assignment to expression with array type
     phydev->supported &= (SUPPORTED_10baseT_Half
                       ^~

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
[cut out of bigger patch, adjust commit title/message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ath25/patches-5.4/110-ar2313_ethernet.patch