r8169: move rtl_wol_enable_rx() and rtl_prepare_power_down()
authorChunhao Lin <hau@realtek.com>
Mon, 26 Dec 2022 12:31:52 +0000 (20:31 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jan 2023 06:22:42 +0000 (07:22 +0100)
commit793f8ac21874747204efedc00028c60da808ccfb
tree97863ae42573bf8a440298580b020d88a55f3c20
parentdc072762f9002df1b611214e6ff71aa40663b5eb
r8169: move rtl_wol_enable_rx() and rtl_prepare_power_down()

[ Upstream commit ad425666a1f05d9b215a84cf010c3789b2ea8206 ]

There is no functional change. Moving these two functions for following
patch "r8169: fix dmar pte write access is not set error".

Signed-off-by: Chunhao Lin <hau@realtek.com>
Reviewed-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/realtek/r8169_main.c