]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ieee802154: fakelb: add deprecated msg while probe
authorAlexander Aring <aring@mojatatu.com>
Sat, 14 Jul 2018 16:33:06 +0000 (12:33 -0400)
committerStefan Schmidt <stefan@datenfreihafen.org>
Mon, 6 Aug 2018 09:21:15 +0000 (11:21 +0200)
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>
drivers/net/ieee802154/fakelb.c

index 176395e4b7bb0ca628bdd22b4f13a23e425bfae2..3b0588d7e7023aef0c3e6d614c82d18e5be541d7 100644 (file)
@@ -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);
 }