summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShiyong Li <shiyongli@google.com>2022-07-27 17:47:23 +0000
committerShiyong Li <shiyongli@google.com>2022-07-27 17:47:23 +0000
commit366b0e633df30f26dde7748fb6a53ed4eebbcbfe (patch)
tree212013bdafe2281f7e73eb84cb8b5685b2eaba9f
parent204b2f265a5c6ab6393d7b432b9cfe260ea2fc18 (diff)
libhwc2.1: use namespace to identify SOC specific early wakeup node
Bug: 239493348 Signed-off-by: Shiyong Li <shiyongli@google.com> Change-Id: Ibaca2157adbe516526438483d2b27a14dcc8b869
-rw-r--r--libhwc2.1/libmaindisplay/ExynosPrimaryDisplay.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhwc2.1/libmaindisplay/ExynosPrimaryDisplay.cpp b/libhwc2.1/libmaindisplay/ExynosPrimaryDisplay.cpp
index d7a0240..e2407f6 100644
--- a/libhwc2.1/libmaindisplay/ExynosPrimaryDisplay.cpp
+++ b/libhwc2.1/libmaindisplay/ExynosPrimaryDisplay.cpp
@@ -111,9 +111,9 @@ ExynosPrimaryDisplay::ExynosPrimaryDisplay(uint32_t index, ExynosDevice *device)
mResolutionInfo.nDSCXSliceSize[2] = 720;
mResolutionInfo.nPanelType[2] = PANEL_LEGACY;
- mEarlyWakeupDispFd = fopen(EARLY_WAKUP_NODE_0_BASE, "w");
+ mEarlyWakeupDispFd = fopen(early_wakeup_node_0_base, "w");
if (mEarlyWakeupDispFd == nullptr)
- ALOGE("open %s failed! %s", EARLY_WAKUP_NODE_0_BASE, strerror(errno));
+ ALOGE("open %s failed! %s", early_wakeup_node_0_base, strerror(errno));
mBrightnessController = std::make_unique<BrightnessController>(
mIndex, [this]() { mDevice->onRefresh(); },
[this]() { updatePresentColorConversionInfo(); });