diff mbox series

[linux,dev-4.13] fsi: core: Depend on OF

Message ID 20180209032048.27450-1-joel@jms.id.au
State Accepted, archived
Headers show
Series [linux,dev-4.13] fsi: core: Depend on OF | expand

Commit Message

Joel Stanley Feb. 9, 2018, 3:20 a.m. UTC
The recent changes to match FSI slaves and engines to device tree nodes
introduced a dependency on 'of_' functions. As all in-tree users of FSI
are ARM OF platforms, make the FSI core depend on OF.

Fixes: 46d6856a33e67 ("fsi: Match fsi slaves and engines to available dt nodes")
Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 drivers/fsi/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Jeremy Kerr Feb. 9, 2018, 5:30 a.m. UTC | #1
Hi Joel,

> The recent changes to match FSI slaves and engines to device tree nodes
> introduced a dependency on 'of_' functions. As all in-tree users of FSI
> are ARM OF platforms, make the FSI core depend on OF.
> 
> Fixes: 46d6856a33e67 ("fsi: Match fsi slaves and engines to available dt nodes")

Definitely needed, thanks for that.

Acked-by: Jeremy Kerr <jk@ozlabs.org>

Cheers,


Jeremy
Joel Stanley Feb. 9, 2018, 5:38 a.m. UTC | #2
On Fri, Feb 9, 2018 at 4:00 PM, Jeremy Kerr <jk@ozlabs.org> wrote:
> Hi Joel,
>
>> The recent changes to match FSI slaves and engines to device tree nodes
>> introduced a dependency on 'of_' functions. As all in-tree users of FSI
>> are ARM OF platforms, make the FSI core depend on OF.
>>
>> Fixes: 46d6856a33e67 ("fsi: Match fsi slaves and engines to available dt nodes")
>
> Definitely needed, thanks for that.
>
> Acked-by: Jeremy Kerr <jk@ozlabs.org>

Thanks! Applied to dev-4.13.

Cheers,

Joel
diff mbox series

Patch

diff --git a/drivers/fsi/Kconfig b/drivers/fsi/Kconfig
index 8ed4602d9acf..2c9b32d3127e 100644
--- a/drivers/fsi/Kconfig
+++ b/drivers/fsi/Kconfig
@@ -6,6 +6,7 @@  menu "FSI support"
 
 config FSI
 	tristate "FSI support"
+	depends on OF
 	select CRC4
 	---help---
 	  FSI - the FRU Support Interface - is a simple bus for low-level