mirror of
https://github.com/torvalds/linux.git
synced 2026-11-23 23:11:40 +00:00
This patches moves the debugfs interface related register after netdevice register. The function lowpan_dev_debugfs_init will use "dev->name" which can be before register_netdevice a format string. The function register_netdevice will evaluate the format string if necessary and replace "dev->name" to the real interface name. Reported-by: Lukasz Duda <[email protected]> Signed-off-by: Alexander Aring <[email protected]> Acked-by: Lukasz Duda <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>