summaryrefslogtreecommitdiffstats
path: root/device/hid
diff options
context:
space:
mode:
Diffstat (limited to 'device/hid')
-rw-r--r--device/hid/device_monitor_linux.h2
-rw-r--r--device/hid/hid_service_linux.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/device/hid/device_monitor_linux.h b/device/hid/device_monitor_linux.h
index 7f5d242..bbf1e52 100644
--- a/device/hid/device_monitor_linux.h
+++ b/device/hid/device_monitor_linux.h
@@ -14,7 +14,7 @@
#include "base/message_loop/message_pump_libevent.h"
#include "base/observer_list.h"
#include "base/threading/thread_checker.h"
-#include "device/udev_linux/udev.h"
+#include "device/udev_linux/scoped_udev.h"
struct udev_device;
diff --git a/device/hid/hid_service_linux.cc b/device/hid/hid_service_linux.cc
index e5fcb52..45688f5 100644
--- a/device/hid/hid_service_linux.cc
+++ b/device/hid/hid_service_linux.cc
@@ -20,7 +20,7 @@
#include "device/hid/hid_connection_linux.h"
#include "device/hid/hid_device_info.h"
#include "device/hid/hid_report_descriptor.h"
-#include "device/udev_linux/udev.h"
+#include "device/udev_linux/scoped_udev.h"
#if defined(OS_CHROMEOS)
#include "base/sys_info.h"
@@ -146,7 +146,7 @@ void HidServiceLinux::OnDeviceAdded(udev_device* device) {
uint32_t int_property = 0;
const char* str_property = NULL;
- udev_device *parent = udev_device_get_parent(device);
+ udev_device* parent = udev_device_get_parent(device);
if (!parent) {
return;
}