From 8c0d2c291904c9c147f3d0f47ac4934de6c7ac4c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 23 Sep 2014 12:00:16 -0500 Subject: [PATCH] Classify regulator devices --- tdecore/tdehw/tdehardwaredevices.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp index a2934df02..194bf6c7e 100644 --- a/tdecore/tdehw/tdehardwaredevices.cpp +++ b/tdecore/tdehw/tdehardwaredevices.cpp @@ -1977,6 +1977,9 @@ TDEGenericDevice* TDEHardwareDevices::classifyUnknownDevice(udev_device* dev, TD else if (devicesubsystem == "node") { if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Platform); } + else if (devicesubsystem == "regulator") { + if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Platform); + } else if (devicesubsystem == "memory") { if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Platform); }