aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2008-11-20 07:17:42 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-20 07:17:42 -0500
commit8761169cf15fdc9336abfddbb9c8dda59d974190 (patch)
tree02ca463279a904539e23c4f60ae1c9dd9bfebd36 /drivers/net/sfc
parent47a1a1d4be2910b13a8e90f75c17e253c39531ff (diff)
sfc: Fix dependency for SFC_MTD
Randy Dunlap found that SFC_MTD was selected when sfc was built-in and the MTD core was a module. Don't allow that combination. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc')
-rw-r--r--drivers/net/sfc/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/Kconfig b/drivers/net/sfc/Kconfig
index 3e25fb38f739..c535408ad6be 100644
--- a/drivers/net/sfc/Kconfig
+++ b/drivers/net/sfc/Kconfig
@@ -14,7 +14,7 @@ config SFC
14 will be called sfc. 14 will be called sfc.
15config SFC_MTD 15config SFC_MTD
16 bool "Solarflare Solarstorm SFC4000 flash MTD support" 16 bool "Solarflare Solarstorm SFC4000 flash MTD support"
17 depends on SFC && MTD 17 depends on SFC && MTD && !(SFC=y && MTD=m)
18 default y 18 default y
19 help 19 help
20 This exposes the on-board flash memory as an MTD device (e.g. 20 This exposes the on-board flash memory as an MTD device (e.g.