]> git.ipfire.org Git - thirdparty/linux.git/commit
net: phy: declare package-related struct members only if CONFIG_PHY_PACKAGE is enabled
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 3 Jul 2025 05:55:52 +0000 (07:55 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 8 Jul 2025 15:57:25 +0000 (08:57 -0700)
commitc523058713abac66b0d83ae12a0574d76cd7df2b
treed26994890448c189abb35e891181f3fef610d961
parenta41851bea7bfb627d00dc51252857019594b5758
net: phy: declare package-related struct members only if CONFIG_PHY_PACKAGE is enabled

Now that we have an own config symbol for the PHY package module,
we can use it to reduce size of these structs if it isn't enabled.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://patch.msgid.link/f0daefa4-406a-4a06-a4f0-7e31309f82bc@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/phy.h