/* Get the LAPB device for the ethernet device  */
static struct lapbethdev* lapbeth_get_x25_dev(struct net_device *dev)
/* Get the LAPB device for the ethernet device  */
static struct lapbethdev* lapbeth_get_x25_dev(struct net_device *dev)
{
	struct lapbethdev *lapbeth;
	list_for_each_entry_rcu(lapbeth, &lapbeth_devices, node) {
		if (lapbeth->ethdev == dev) 
			return lapbeth;
	}
	return NULL;
}