staging: clocking-wizard: Contain macro argument in parenthesis

A macro doing some arithmetic to calculate a register offset, did not
contain an argument to the macro in parentheses, potentially leading to
unexpected results when using that macro with arithmetic expressions as
argument.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Soren Brinkmann 2014-10-20 13:20:08 -07:00 коммит произвёл Greg Kroah-Hartman
Родитель 79bffc5344
Коммит 4baa70f69d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -29,7 +29,7 @@
#define WZRD_NUM_OUTPUTS 7
#define WZRD_ACLK_MAX_FREQ 250000000UL
#define WZRD_CLK_CFG_REG(n) (0x200 + 4 * n)
#define WZRD_CLK_CFG_REG(n) (0x200 + 4 * (n))
#define WZRD_CLkOUT0_FRAC_EN BIT(18)
#define WZRD_CLkFBOUT_FRAC_EN BIT(26)