--- zzzz-none-000/linux-4.9.325/include/linux/ppp_channel.h 2022-07-29 15:05:48.000000000 +0000 +++ seale-7590ax-800/linux-4.9.325/include/linux/ppp_channel.h 2024-09-18 09:50:47.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,