aboutsummaryrefslogtreecommitdiff
path: root/xbmc/PowerManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/PowerManager.cpp')
-rw-r--r--xbmc/PowerManager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xbmc/PowerManager.cpp b/xbmc/PowerManager.cpp
index b61f804be7..a04f54a5a9 100644
--- a/xbmc/PowerManager.cpp
+++ b/xbmc/PowerManager.cpp
@@ -75,10 +75,10 @@ void CPowerManager::Initialize()
#ifdef __APPLE__
m_instance = new CCocoaPowerSyscall();
#elif defined(_LINUX) && defined(HAS_DBUS)
- if (CConsoleDeviceKitPowerSyscall::HasDeviceConsoleKit())
- m_instance = new CConsoleDeviceKitPowerSyscall();
- else if (CConsoleUPowerSyscall::HasDeviceConsoleKit())
+ if (CConsoleUPowerSyscall::HasDeviceConsoleKit())
m_instance = new CConsoleUPowerSyscall();
+ else if (CConsoleDeviceKitPowerSyscall::HasDeviceConsoleKit())
+ m_instance = new CConsoleDeviceKitPowerSyscall();
#ifdef HAS_HAL
else
m_instance = new CHALPowerSyscall();