aboutsummaryrefslogtreecommitdiff
path: root/daemon/gpio_driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/gpio_driver.h')
-rw-r--r--daemon/gpio_driver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/gpio_driver.h b/daemon/gpio_driver.h
index f157ffc..20dcbb1 100644
--- a/daemon/gpio_driver.h
+++ b/daemon/gpio_driver.h
@@ -22,8 +22,8 @@
#include <memory>
#include <string>
+#include <android-base/unique_fd.h>
#include <base/macros.h>
-#include <nativehelper/ScopedFd.h>
#include <peripheralmanager/constants.h>
namespace android {
@@ -43,7 +43,7 @@ class GpioDriverInterface {
virtual bool SetActiveType(GpioActiveType type) = 0;
virtual bool SetDirection(GpioDirection direction) = 0;
virtual bool SetEdgeType(GpioEdgeType type) = 0;
- virtual bool GetPollingFd(ScopedFd* fd) = 0;
+ virtual bool GetPollingFd(::android::base::unique_fd* fd) = 0;
};
// The following is driver boilerplate.