Skip to content

Commit

Permalink
ieee802154: fakelb: add deprecated msg while probe
Browse files Browse the repository at this point in the history
Since mac802154_hwsim the fakelb driver will get deprecated. This patch will
notifier all users of fakelb to switch to the new mac802154_hwsim driver.

Signed-off-by: Alexander Aring <aring@mojatatu.com>
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
  • Loading branch information
Alexander Aring authored and Stefan Schmidt committed Aug 6, 2018
1 parent f25da51 commit be10d5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/net/ieee802154/fakelb.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,9 @@ static __init int fakelb_init_module(void)
{
ieee802154fake_dev = platform_device_register_simple(
"ieee802154fakelb", -1, NULL, 0);

pr_warn("fakelb driver is marked as deprecated, please use mac802154_hwsim!\n");

return platform_driver_register(&ieee802154fake_driver);
}

Expand Down

0 comments on commit be10d5d

Please sign in to comment.