| // Copyright 2021 The Chromium OS Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef POWER_MANAGER_POWERD_SYSTEM_CROS_EC_DEVICE_EVENT_H_ |
| #define POWER_MANAGER_POWERD_SYSTEM_CROS_EC_DEVICE_EVENT_H_ |
| |
| namespace power_manager { |
| namespace system { |
| |
| // Enable device event in CrOS EC. |
| // |
| // event: Device event ID. See enum ec_device_event in ec_command.h. |
| void EnableCrosEcDeviceEvent(int event); |
| |
| } // namespace system |
| } // namespace power_manager |
| |
| #endif // POWER_MANAGER_POWERD_SYSTEM_CROS_EC_DEVICE_EVENT_H_ |