--- zzzz-none-000/linux-4.9.218/include/linux/ppp_channel.h 2020-04-02 15:20:41.000000000 +0000 +++ seale-7590ax-750/linux-4.9.218/include/linux/ppp_channel.h 2023-03-29 10:59:07.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,