stmmac: dwmac-loongson: Add architecture dependency

[ Upstream commit 7fbd5fc2b3 ]

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>
This commit is contained in:
Jean Delvare 2023-11-15 11:53:31 +01:00 • committed by Greg Kroah-Hartman
commit 5fb6772cb5