/* This file is GPLv2 as found in COPYING.  */
static struct cfg80211_registered_device* dev_to_rdev(struct device *dev)
/* This file is GPLv2 as found in COPYING.  */
static struct cfg80211_registered_device* dev_to_rdev(struct device *dev)
{
	return container_of(dev, struct cfg80211_registered_device, wiphy.dev);
}