Skip to content

Commit fb9caee

Browse files
Javier Martinez CanillasLee Jones
authored andcommitted
mfd: Remove MFD_CROS_EC_SPI depends on OF
The ChromeOS EC SPI transport driver has a dependency on OF because it uses some OF helpers from the <linux/of.h> header. But there isn't a need for an explicit dependency since the header has stub functions if CONFIG_OF is not defined. Also, MFD_CROS_EC_SPI already depends on MFD_CROS_EC which in turn has a dependency on OF so in practice can't be selected without CONFIG_OF. Signed-off-by: Javier Martinez Canillas <[email protected]> Signed-off-by: Lee Jones <[email protected]>
1 parent d12bbcd commit fb9caee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mfd/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ config MFD_CROS_EC_I2C
115115

116116
config MFD_CROS_EC_SPI
117117
tristate "ChromeOS Embedded Controller (SPI)"
118-
depends on MFD_CROS_EC && CROS_EC_PROTO && SPI && OF
118+
depends on MFD_CROS_EC && CROS_EC_PROTO && SPI
119119

120120
---help---
121121
If you say Y here, you get support for talking to the ChromeOS EC

0 commit comments

Comments
 (0)