drivers: base: export next_driver
authorIoana Ciornei <ioana.ciornei@nxp.com>
Wed, 23 Sep 2020 14:40:51 +0000 (17:40 +0300)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:36:29 +0000 (11:36 +0800)
commitb8ef4c9afb38a20194fe5d204e835f26d1a374d2
tree6c8be98cfa561a9ba58ae9458d4e0e5c1e742ae3
parentb431cb87be02dc69d1c3028564fe34869a53d038
drivers: base: export next_driver

Exporting the next_driver() function is necessary, for the moment, so
that the dpaa2_mac driver can be forcefully unbound from the DPMAC
object when a kernel driver DPNI is connected to it.
This will be removed once the MC sends interrupts notifying any link
partnet change to all connectable objects (not just DPNIs).

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
drivers/base/bus.c
include/linux/device/bus.h