summaryrefslogtreecommitdiffstats
path: root/hwc
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-03-24 15:23:56 -0700
committerMathias Agopian <mathias@google.com>2012-03-26 12:49:19 -0700
commita35209b2e26289458670e04d6e62dee3d085ea63 (patch)
tree728b8455c5c1b655ffe2d59f219d69bd06279dc6 /hwc
parent484116750df56d0805d5f5727ad94701f916e8c6 (diff)
downloadhardware_ti_omap4xxx-a35209b2e26289458670e04d6e62dee3d085ea63.zip
hardware_ti_omap4xxx-a35209b2e26289458670e04d6e62dee3d085ea63.tar.gz
hardware_ti_omap4xxx-a35209b2e26289458670e04d6e62dee3d085ea63.tar.bz2
update to new versioning scheme
Change-Id: I53feed711d7c347da116a91e10228cb6555a1e77
Diffstat (limited to 'hwc')
-rw-r--r--hwc/hwc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hwc/hwc.c b/hwc/hwc.c
index 4ac3817..bc54f12 100644
--- a/hwc/hwc.c
+++ b/hwc/hwc.c
@@ -1860,7 +1860,7 @@ static int omap4_hwc_device_open(const hw_module_t* module, const char* name,
memset(hwc_dev, 0, sizeof(*hwc_dev));
hwc_dev->base.common.tag = HARDWARE_DEVICE_TAG;
- hwc_dev->base.common.version = HWC_API_VERSION;
+ hwc_dev->base.common.version = HWC_DEVICE_API_VERSION;
hwc_dev->base.common.module = (hw_module_t *)module;
hwc_dev->base.common.close = omap4_hwc_device_close;
hwc_dev->base.prepare = omap4_hwc_prepare;
@@ -2009,8 +2009,8 @@ omap4_hwc_module_t HAL_MODULE_INFO_SYM = {
.base = {
.common = {
.tag = HARDWARE_MODULE_TAG,
- .version_major = 1,
- .version_minor = 0,
+ .module_api_version = HWC_MODULE_API_VERSION,
+ .hal_api_version = HARDWARE_HAL_API_VERSION,
.id = HWC_HARDWARE_MODULE_ID,
.name = "OMAP 44xx Hardware Composer HAL",
.author = "Texas Instruments",