diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-23 12:00:16 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-23 12:00:16 -0500 |
commit | 8c0d2c291904c9c147f3d0f47ac4934de6c7ac4c (patch) | |
tree | d73a20ce7015eda3c3f20c16df853928d6c61bb1 /tdecore/tdehw | |
parent | d2be9f66f9f0767685a6999c4a8f91fd27ce0611 (diff) | |
download | tdelibs-8c0d2c291904c9c147f3d0f47ac4934de6c7ac4c.tar.gz tdelibs-8c0d2c291904c9c147f3d0f47ac4934de6c7ac4c.zip |
Classify regulator devices
Diffstat (limited to 'tdecore/tdehw')
-rw-r--r-- | tdecore/tdehw/tdehardwaredevices.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |