]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
fsi/sbefifo: Add dependency on OF_ADDRESS
authorGuenter Roeck <linux@roeck-us.net>
Tue, 3 Jul 2018 13:43:49 +0000 (06:43 -0700)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 12 Jul 2018 01:51:19 +0000 (11:51 +1000)
The driver calls of_platform_device_create() which is only available
if OF_ADDRESS is enabled. When building sparc64 images, this results
in

ERROR: "of_platform_device_create" [drivers/fsi/fsi-sbefifo.ko] undefined!

Fixes: 9f4a8a2d7f9d ("fsi/sbefifo: Add driver for the SBE FIFO")
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/fsi/Kconfig

index 24f84a96b8b9de647f55609aa27bf212062a85f6..9c08f467a7bbe17056e8195ce466424ba4f59fc1 100644 (file)
@@ -34,6 +34,7 @@ config FSI_SCOM
 
 config FSI_SBEFIFO
        tristate "SBEFIFO FSI client device driver"
+       depends on OF_ADDRESS
        ---help---
        This option enables an FSI based SBEFIFO device driver. The SBEFIFO is
        a pipe-like FSI device for communicating with the self boot engine