Change-Id: I6acf4523b5878565035ea6c85bddd58f9b20ef1b
__BEGIN_DECLS
+#define POWER_MODULE_API_VERSION_0_1 HARDWARE_MODULE_API_VERSION(0, 1)
+#define POWER_MODULE_API_VERSION_0_2 HARDWARE_MODULE_API_VERSION(0, 2)
+
+
/**
* The id of this module
*/
* VSYNC pulse no longer requested.
*
* A particular platform may choose to ignore any hint.
+ *
+ * availability: version 0.2
+ *
*/
void (*powerHint)(struct power_module *module, power_hint_t hint,
void *data);
struct power_module HAL_MODULE_INFO_SYM = {
.common = {
.tag = HARDWARE_MODULE_TAG,
- .version_major = 1,
- .version_minor = 0,
+ .module_api_version = POWER_MODULE_API_VERSION_0_2,
+ .hal_api_version = HARDWARE_HAL_API_VERSION,
.id = POWER_HARDWARE_MODULE_ID,
.name = "Default Power HAL",
.author = "The Android Open Source Project",