Skip to content
Commit 21ce2c12 authored by Alexandru Tachici's avatar Alexandru Tachici Committed by Jakub Kicinski
Browse files

net: ethernet: adi: adin1110: Fix notifiers



ADIN1110 was registering netdev_notifiers on each device probe.
This leads to warnings/probe failures because of double registration
of the same notifier when to adin1110/2111 devices are connected to
the same system.

Move the registration of netdev_notifiers in module init call,
in this way multiple driver instances can use the same notifiers.

Fixes: bc93e19d ("net: ethernet: adi: Add ADIN1110 support")
Signed-off-by: default avatarAlexandru Tachici <alexandru.tachici@analog.com>
Link: https://lore.kernel.org/r/20221027095655.89890-2-alexandru.tachici@analog.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 9201f60a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment