]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: dpaa2-ethsw: move port notifier per ethsw
authorIoana Ciornei <ioana.ciornei@nxp.com>
Mon, 11 Nov 2019 16:50:55 +0000 (18:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Nov 2019 23:10:14 +0000 (00:10 +0100)
commitc5e648f8574d4644fe3efd46c4d34b5fceea2781
tree4f5b30ad4809cb7663f753300a7b2e7784fa158e
parent7db57ca4b1340ca8cc3cf864d5e1acdb66919ab4
staging: dpaa2-ethsw: move port notifier per ethsw

Register a different net_device notifier block per ethsw instance.
When probing multiple dpaa2-ethsw instances, without this the register
will fail.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://lore.kernel.org/r/1573491058-24766-2-git-send-email-ioana.ciornei@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethsw/ethsw.c
drivers/staging/fsl-dpaa2/ethsw/ethsw.h