diff options
author | Guenter Roeck <linux@roeck-us.net> | 2018-07-03 09:43:49 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-07-11 21:51:19 -0400 |
commit | 32f7f89d3065d950a3524c91f4031acc129195cc (patch) | |
tree | f9b6ffabfe91a62cb6509a1aed848b9cf4da5f84 | |
parent | c00bac88764a0f294d34b40e5f4987de8ceab711 (diff) |
fsi/sbefifo: Add dependency on OF_ADDRESS
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>
-rw-r--r-- | drivers/fsi/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/fsi/Kconfig b/drivers/fsi/Kconfig index 24f84a96b8b9..9c08f467a7bb 100644 --- a/drivers/fsi/Kconfig +++ b/drivers/fsi/Kconfig | |||
@@ -34,6 +34,7 @@ config FSI_SCOM | |||
34 | 34 | ||
35 | config FSI_SBEFIFO | 35 | config FSI_SBEFIFO |
36 | tristate "SBEFIFO FSI client device driver" | 36 | tristate "SBEFIFO FSI client device driver" |
37 | depends on OF_ADDRESS | ||
37 | ---help--- | 38 | ---help--- |
38 | This option enables an FSI based SBEFIFO device driver. The SBEFIFO is | 39 | This option enables an FSI based SBEFIFO device driver. The SBEFIFO is |
39 | a pipe-like FSI device for communicating with the self boot engine | 40 | a pipe-like FSI device for communicating with the self boot engine |