stmmac: dwmac-loongson: Add architecture dependency
authorJean Delvare <jdelvare@suse.de>
Wed, 15 Nov 2023 10:53:31 +0000 (11:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Dec 2023 16:01:55 +0000 (17:01 +0100)
commitc40c0b89bf1d243de9b3d5f233d8d19ac51f9eae
treec330bd7de69f628416b51643fb34e96b00aaf5e3
parent2ebf775f0541ae0d474836fa0cf3220e502f8e3e
stmmac: dwmac-loongson: Add architecture dependency

[ Upstream commit 7fbd5fc2b35a8f559a6b380dfa9bcd964a758186 ]

Only present the DWMAC_LOONGSON option on architectures where it can
actually be used.

This follows the same logic as the DWMAC_INTEL option.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Keguang Zhang <keguang.zhang@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/stmicro/stmmac/Kconfig