/* Get the BPQ device for the ethernet device  */
static struct net_device* bpq_get_ax25_dev(struct net_device *dev)
/* Get the BPQ device for the ethernet device  */
static struct net_device* bpq_get_ax25_dev(struct net_device *dev)
{
	struct bpqdev *bpq;
	list_for_each_entry_rcu(bpq, &bpq_devices, bpq_list) {
		if (bpq->ethdev == dev)
			return bpq->axdev;
	}
	return NULL;
}