-
由 Sergey Klyaus 提交于
bus_add_device() should be called before devtmpfs_create_node(), so when userland application opens device from devtmpfs, it wouldn't get ENODEV from kernel, because device_add() wasn't completed. Signed-off-by: NSergey Klyaus <Sergey.Klyaus@Tune-IT.Ru> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
0cd75047