diff --git a/repos/dde_linux/src/lib/lx_kit/device.cc b/repos/dde_linux/src/lib/lx_kit/device.cc index 52e57c6ca2..947f7f5c8e 100644 --- a/repos/dde_linux/src/lib/lx_kit/device.cc +++ b/repos/dde_linux/src/lib/lx_kit/device.cc @@ -173,7 +173,7 @@ void Device::enable() if (_pdev.constructed()) return; - _pdev.construct(_platform, _type); + _pdev.construct(_platform, _name); _platform.update(); _platform.with_xml([&] (Xml_node & xml) {