Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8761169c authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller
Browse files

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: default avatarBen Hutchings <bhutchings@solarflare.com>
Acked-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 47a1a1d4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ config SFC
	  will be called sfc.
config SFC_MTD
	bool "Solarflare Solarstorm SFC4000 flash MTD support"
	depends on SFC && MTD
	depends on SFC && MTD && !(SFC=y && MTD=m)
	default y
	help
	  This exposes the on-board flash memory as an MTD device (e.g.