summaryrefslogtreecommitdiffstats
path: root/crypto/api.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-02-11 15:23:51 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-11 20:13:35 -0800
commit28c09ec4b6b7a2f9f769966baf54eaf0d6fadf8c (patch)
tree75078a403cb7d5fff1a8c22e8c4dd9b0f4257b23 /crypto/api.c
parent9b3ec23ae9e4cd810f754c4cb9bff030a3a9d3ac (diff)
downloadop-kernel-dev-28c09ec4b6b7a2f9f769966baf54eaf0d6fadf8c.zip
op-kernel-dev-28c09ec4b6b7a2f9f769966baf54eaf0d6fadf8c.tar.gz
firmware: qemu config needs I/O ports
Not all machines have PCI style I/O port memory, or they do not allow mapping it using the ioport_map() function, whcih results in a build error with the newly added qemu firmware code: drivers/firmware/built-in.o: In function `fw_cfg_io_cleanup': qemu_fw_cfg.c:(.text+0x144): undefined reference to `ioport_unmap' drivers/firmware/built-in.o: In function `fw_cfg_sysfs_probe': qemu_fw_cfg.c:(.text+0xb18): undefined reference to `ioport_map' This adds a Kconfig dependency to ensure the driver can only be built on platforms that support it. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Fixes: 75f3e8e47f38 ("firmware: introduce sysfs driver for QEMU's fw_cfg device") Acked-by: Gabriel Somlo <somlo@cmu.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/api.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud