]> git.baikalelectronics.ru Git - kernel.git/commit
driver core: Add device_is_dependent() to linux/device.h
authorSaravana Kannan <saravanak@google.com>
Wed, 10 Jun 2020 01:19:33 +0000 (18:19 -0700)
committerRob Herring <robh@kernel.org>
Wed, 17 Jun 2020 22:10:56 +0000 (16:10 -0600)
commit46b1b414d1f484a5664638f705871bbbc9517218
treece115e9517285fcbe2086b0c09e3fbcc2c0a6ea1
parent9b8ffe93e39223335b7faad4e4826d3e99319d6e
driver core: Add device_is_dependent() to linux/device.h

DT implementation of fw_devlink needs this function to detect cycles. So
make it available.

Signed-off-by: Saravana Kannan <saravanak@google.com>
Tested-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/base/core.c
include/linux/device.h