]> git.dujemihanovic.xyz Git - u-boot.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)
commit82ee8bfe519307b4175bb0f751da73c8555a0a25
treedaf3fa7e31c9e86622eea36fecbc370d71f580b2
parentebc87d0dafd4ca7859c3b7d2b38430bc2669ee85
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