hw/registerfields: fix a typo in the FIELD() documentation
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Darren Kenny <darren.kenny@oracle.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
06a7b24350
commit
9102fe6c7f
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
/* Define SHIFT, LENGTH and MASK constants for a field within a register */
|
/* 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.
|
* constants for field BAR in register FOO.
|
||||||
*/
|
*/
|
||||||
#define FIELD(reg, field, shift, length) \
|
#define FIELD(reg, field, shift, length) \
|
||||||
|
|
Loading…
Reference in a new issue