--- zzzz-none-000/linux-4.9.231/include/linux/ppp_channel.h 2020-07-22 07:10:54.000000000 +0000 +++ falcon-5590-729/linux-4.9.231/include/linux/ppp_channel.h 2022-03-30 12:03:35.000000000 +0000 @@ -75,6 +75,9 @@ /* Get the device name associated with a channel, or NULL if none */ extern char *ppp_dev_name(struct ppp_channel *); +/* Get the device pointer associated with a channel, or NULL if none */ +extern struct net_device *ppp_device(struct ppp_channel *); + /* * SMP locking notes: * The channel code must ensure that when it calls ppp_unregister_channel,