]> git.baikalelectronics.ru Git - uboot.git/commit
dm: Use parenthesis for the device_get_ops macro argument
authorSughosh Ganu <sughosh.ganu@linaro.org>
Sat, 29 Jan 2022 19:21:08 +0000 (00:51 +0530)
committerSimon Glass <sjg@chromium.org>
Wed, 9 Feb 2022 19:26:12 +0000 (12:26 -0700)
commit3f3b6b865ad7fc02d0789ede01b88458fc6bbbf2
treedaf3fa7e31c9e86622eea36fecbc370d71f580b2
parent43db8124e52c7d3c3dfa3d04debb2c9389f18d31
dm: Use parenthesis for the device_get_ops macro argument

Use parenthesis for the device_get_ops macro argument. This prevents
errors when using an expression for the parameter.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/dm/device.h