misc: zynq_slcr: Make DB_PRINTs always compile
commit6954a1cd97f7669b320967d11833fe0d6d7a742d
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Tue, 15 Apr 2014 18:49:11 +0000 (15 19:49 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 17 Apr 2014 20:34:07 +0000 (17 21:34 +0100)
tree8d5848b1439ab1108fd62f66a380cd3e1f0f6b8c
parent15e3611e1ca7a3b4d2cee505df83ea2744c2874d
misc: zynq_slcr: Make DB_PRINTs always compile

Change the DB_PRINT macro over to a regular if() rather than
conditional compilation to give constant compile testing of formats.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Message-id: 942477847353c5cff5f45a228cc88c633dc012f3.1396503037.git.peter.crosthwaite@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/misc/zynq_slcr.c