]> 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)
commite72a2cab7573ccd87b89a203da41e1423c6d161c
treefe3101114a7fa115f9f8685b3f8b856e68ac9e54
parent1afaecb52ce1b3b2680f628a5bccdfc9d47eeb35
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