staging: dpaa2-ethsw: move port switchdev blocking notifier per ethsw
authorIoana Ciornei <ioana.ciornei@nxp.com>
Mon, 11 Nov 2019 16:50:57 +0000 (18:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Nov 2019 23:10:15 +0000 (00:10 +0100)
commit910f30917cdffedff5663f5ac451424bd7176ce7
tree117a287deabb371a0e85342f5c6f539ae29418f9
parenta3c6345e9f04510bcca88f0faefbcd2399dbca47
staging: dpaa2-ethsw: move port switchdev blocking notifier per ethsw

Register a different switchdev blocking 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-4-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