Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: mscc: ocelot: select PACKING in the Kconfig

Ocelot now uses include/linux/dsa/ocelot.h which makes use of
CONFIG_PACKING to pack/unpack bits into the Injection/Extraction Frame
Headers. So it needs to explicitly select it, otherwise there might be
build errors due to the missing dependency.

Fixes: 40d3f295b5fe ("net: mscc: ocelot: use common tag parsing code with DSA")
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Vladimir Oltean and committed by
David S. Miller
59756555 b646acd5

+1
+1
drivers/net/ethernet/mscc/Kconfig
··· 14 14 # Users should depend on NET_SWITCHDEV, HAS_IOMEM 15 15 config MSCC_OCELOT_SWITCH_LIB 16 16 select REGMAP_MMIO 17 + select PACKING 17 18 select PHYLIB 18 19 tristate 19 20 help