summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
Diffstat (limited to 'src/device')
-rw-r--r--src/device/device_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/device_util.c b/src/device/device_util.c
index ec2d1591ab..8d111b6096 100644
--- a/src/device/device_util.c
+++ b/src/device/device_util.c
@@ -655,7 +655,7 @@ void disable_children(struct bus *bus)
* Returns true if the device is an enabled bridge that has at least
* one enabled device on its secondary bus that is not of type NONE.
*/
-bool dev_is_active_bridge(struct device *dev)
+bool dev_is_active_bridge(const struct device *dev)
{
struct device *child;