firmware: qemu_fw_cfg.c: fix typo FW_CFG_DATA_OFF
authorValentin Rothberg <valentin.rothberg@posteo.net>
Thu, 11 Feb 2016 11:19:03 +0000 (12:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Feb 2016 03:24:57 +0000 (19:24 -0800)
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>
drivers/firmware/qemu_fw_cfg.c

index 19f6851be87fc10ba30edc9e509a376325476b6c..fedbff55a7f3848872b7d0196086bc0f56caa0c7 100644 (file)
@@ -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