net: stmmac: move stmmac_fpe_cfg to stmmac_priv data
authorFurong Xu <0x1207@gmail.com>
Fri, 6 Sep 2024 14:30:06 +0000 (22:30 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 10 Sep 2024 23:42:11 +0000 (16:42 -0700)
commit070a5e6295e88a2b75cbfef04ff8b4ec05775e6d
treea34dfd8c3ef5852734e7822f5fb4baa73e34ebde
parent525034e2e2ee60d31519af0919e374b0032a70de
net: stmmac: move stmmac_fpe_cfg to stmmac_priv data

By moving the fpe_cfg field to the stmmac_priv data, stmmac_fpe_cfg
becomes platform-data eventually, instead of a run-time config.

Suggested-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Furong Xu <0x1207@gmail.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Link: https://patch.msgid.link/d9b3d7ecb308c5e39778a4c8ae9df288a2754379.1725631883.git.0x1207@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/hwif.h
drivers/net/ethernet/stmicro/stmmac/stmmac.h
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c
include/linux/stmmac.h