device: Add const qualifier for input of dev_is_active_bridge
commit8214eeb212de3aa663904b3fe69f19db44030aae
authorShuo Liu <shuo.liu@intel.com>
Fri, 15 Nov 2024 11:38:05 +0000 (15 19:38 +0800)
committerElyes Haouas <ehaouas@noos.fr>
Wed, 20 Nov 2024 04:32:02 +0000 (20 04:32 +0000)
tree006e2974da5a6fd3ea61230f0152976f543b77df
parentd22078a3c3b090a0d0c900520dc10dd8f09cda5c
device: Add const qualifier for input of dev_is_active_bridge

Add const qualifier for input of dev_is_active_bridge so that
dev_is_active_bridge could be used for both struct device * input
and const struct device * input.

TESTED=Build and boot on intel/avenuecity CRB

Change-Id: Ia4231534c87cd13d4e6e4d606733f9eb11221ac1
Signed-off-by: Shuo Liu <shuo.liu@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85150
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
src/device/device_util.c
src/include/device/device.h