--- zzzz-none-000/linux-4.9.276/include/linux/ppp_channel.h 2021-07-20 14:21:16.000000000 +0000 +++ falcon-5530-750/linux-4.9.276/include/linux/ppp_channel.h 2023-04-05 08:19:02.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,