summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2015-04-07 14:53:00 -0500
committerSlávek Banko <[email protected]>2015-04-07 22:11:13 +0200
commit08e045c17a41ba6733f4b273e64318cf2edb7df6 (patch)
treea73a25a751c20f9a06e61508ca26a070ffe294a7
parentc88f021085f8fa3a56c8e25256604023980f1570 (diff)
downloadtdelibs-08e045c17a41ba6733f4b273e64318cf2edb7df6.tar.gz
tdelibs-08e045c17a41ba6733f4b273e64318cf2edb7df6.zip
Classify memstick_host devices
(cherry picked from commit 669345d6b80ea91a19a93400798629c94055216e)
-rw-r--r--tdecore/tdehw/tdehardwaredevices.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp
index eee2f0fbb..b0162f6fe 100644
--- a/tdecore/tdehw/tdehardwaredevices.cpp
+++ b/tdecore/tdehw/tdehardwaredevices.cpp
@@ -2112,7 +2112,8 @@ TDEGenericDevice* TDEHardwareDevices::classifyUnknownDevice(udev_device* dev, TD
if (devicesubsystem == "tifm_adapter") {
if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::StorageController);
}
- if (devicesubsystem == "mmc_host") {
+ if ((devicesubsystem == "mmc_host")
+ || (devicesubsystem == "memstick_host")) {
if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::StorageController);
}
if (devicesubsystem == "mmc") {