lmb: Fix lmb property's defination under struct lmb
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Thu, 7 Jul 2022 08:45:36 +0000 (10:45 +0200)
committerMichal Simek <michal.simek@amd.com>
Tue, 26 Jul 2022 06:23:54 +0000 (08:23 +0200)
commit7c1860fce4e369bdcabc1f574feb6b9af19999a3
tree969bcd71a7cc0a8768cec26b7c83a7858aaf3bc1
parentb09e462482b4b84f5d99986514db5fe8d10f4c2f
lmb: Fix lmb property's defination under struct lmb

Under struct lmb {} the lmb property's should be defined only if
CONFIG_LMB_MEMORY_REGIONS is defined.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/c24a2b1d6f5db4eb65393f6a77fae129b30b6233.1657183534.git.michal.simek@amd.com
include/lmb.h
lib/lmb.c