aboutsummaryrefslogtreecommitdiff
path: root/usb/Usb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'usb/Usb.cpp')
-rw-r--r--usb/Usb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/usb/Usb.cpp b/usb/Usb.cpp
index e78a82f2..9f0e6401 100644
--- a/usb/Usb.cpp
+++ b/usb/Usb.cpp
@@ -106,7 +106,7 @@ std::string convertRoletoString(PortRole role) {
}
Return<void> Usb::switchRole(const hidl_string& portName,
- const V1_0::PortRole& newRole) {
+ const PortRole& newRole) {
std::string filename = appendRoleNodeHelper(std::string(portName.c_str()),
newRole.type);
std::ofstream file(filename);