summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorValentin Rothberg <valentin.rothberg@posteo.net>2016-02-11 12:19:03 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-12 04:24:57 +0100
commit9b3ec23ae9e4cd810f754c4cb9bff030a3a9d3ac (patch)
treec5121a54bb55bad68c135f8ef112f682fca0a127 /drivers
parentdriver-core: platform: probe of-devices only using list of compatibles (diff)
downloadlinux-9b3ec23ae9e4cd810f754c4cb9bff030a3a9d3ac.tar.xz
linux-9b3ec23ae9e4cd810f754c4cb9bff030a3a9d3ac.zip
firmware: qemu_fw_cfg.c: fix typo FW_CFG_DATA_OFF
s/FW_CTRL_DATA_OFF/FW_CFG_DATA_OFF/ Signed-off-by: Valentin Rothberg <valentin.rothberg@posteo.net> Signed-off-by: Andreas Ziegler <andreas.ziegler@fau.de> Acked-by: Gabriel Somlo <somlo@cmu.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/firmware/qemu_fw_cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/qemu_fw_cfg.c b/drivers/firmware/qemu_fw_cfg.c
index 19f6851be87f..fedbff55a7f3 100644
--- a/drivers/firmware/qemu_fw_cfg.c
+++ b/drivers/firmware/qemu_fw_cfg.c
@@ -98,7 +98,7 @@ static void fw_cfg_io_cleanup(void)
}
/* arch-specific ctrl & data register offsets are not available in ACPI, DT */
-#if !(defined(FW_CFG_CTRL_OFF) && defined(FW_CTRL_DATA_OFF))
+#if !(defined(FW_CFG_CTRL_OFF) && defined(FW_CFG_DATA_OFF))
# if (defined(CONFIG_ARM) || defined(CONFIG_ARM64))
# define FW_CFG_CTRL_OFF 0x08
# define FW_CFG_DATA_OFF 0x00