diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2021-09-25 14:22:58 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-27 16:31:59 +0100 |
commit | 504627ee4cf4a2d42cba7ce156d423299c06a618 (patch) | |
tree | 788bd06034c34646b798066d85e99c9e9dde8b5c /drivers/ptp/ptp_ocp.c | |
parent | netdevsim: Move devlink registration to be last devlink command (diff) | |
download | linux-dev-504627ee4cf4a2d42cba7ce156d423299c06a618.tar.xz linux-dev-504627ee4cf4a2d42cba7ce156d423299c06a618.zip |
net: wwan: iosm: Move devlink_register to be last devlink command
This change prevents from users to access device before devlink is
fully configured. Indirectly this change fixes the commit mentioned
below where devlink_unregister() was prematurely removed.
Fixes: db4278c55fa5 ("devlink: Make devlink_register to be void")
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ptp/ptp_ocp.c')
0 files changed, 0 insertions, 0 deletions