]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: move setting OCP base to generic init code
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 18 Apr 2020 21:06:51 +0000 (23:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Apr 2020 03:20:10 +0000 (20:20 -0700)
commite5f78cfdc09699b0fd3c590a0da84ed5fc463d71
treefe3101114a7fa115f9f8685b3f8b856e68ac9e54
parent2e2fd01fd9900fa38e92b2c0891d1e1bba30e273
r8169: move setting OCP base to generic init code

Move setting the ocp_base to rtl_init_one(). Where supported the value
is always the same, and if not supported it doesn't hurt.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c