From: Philippe Mathieu-Daudé Date: Wed, 13 Dec 2017 05:17:34 +0000 (-0300) Subject: hw/registerfields: fix a typo in the FIELD() documentation X-Git-Tag: v2.12.0-rc0~189^2~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9102fe6c7f63306670b7d45635ddfeab72409199;p=thirdparty%2Fqemu.git hw/registerfields: fix a typo in the FIELD() documentation Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Darren Kenny Reviewed-by: Alistair Francis Reviewed-by: Edgar E. Iglesias Signed-off-by: Michael Tokarev --- diff --git a/include/hw/registerfields.h b/include/hw/registerfields.h index af101d5ae6d..ad9d7a82a31 100644 --- a/include/hw/registerfields.h +++ b/include/hw/registerfields.h @@ -22,7 +22,7 @@ /* Define SHIFT, LENGTH and MASK constants for a field within a register */ -/* This macro will define FOO_BAR_MASK, FOO_BAR_SHIFT and FOO_BAR_LENGTH +/* This macro will define R_FOO_BAR_MASK, R_FOO_BAR_SHIFT and R_FOO_BAR_LENGTH * constants for field BAR in register FOO. */ #define FIELD(reg, field, shift, length) \