diff options
author | Wolfram Sang <[email protected]> | 2012-01-03 03:46:47 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2012-01-03 13:48:41 -0500 |
commit | 0d9032477f4ba2323079466efef0c1419613eebf (patch) | |
tree | 7a3ebd8e4d6acaf48d5f5b45f93fab473ffc6ca7 /net/lapb/lapb_subr.c | |
parent | 6bafcac3238758203703bdd4abe9c1f38d259584 (diff) |
net: fsl: fec: fix build for mx23-only kernel
If one only selects mx23-based boards, compile fails:
drivers/net/ethernet/freescale/fec.c:410:2: error: 'FEC_HASH_TABLE_HIGH' undeclared (first use in this function)
drivers/net/ethernet/freescale/fec.c:411:2: error: 'FEC_HASH_TABLE_LOW' undeclared (first use in this function)
This is because fec.h uses CONFIG_SOC_IMX28 to determine the register
layout of the core which makes sense since the MX23 does not have a fec.
However, Kconfig uses the broader ARCH_MXS symbol and this way even
makes the fec-driver default for MX23. Adapt Kconfig to use the more
precise SOC_IMX28 as well.
Signed-off-by: Wolfram Sang <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Uwe Kleine-König <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: David S. Miller <[email protected]>
Acked-by: Fabio Estevam <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions