diff options
author | Mathias Agopian <mathias@google.com> | 2012-03-24 15:23:56 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2012-03-26 12:49:19 -0700 |
commit | a35209b2e26289458670e04d6e62dee3d085ea63 (patch) | |
tree | 728b8455c5c1b655ffe2d59f219d69bd06279dc6 /hwc | |
parent | 484116750df56d0805d5f5727ad94701f916e8c6 (diff) | |
download | hardware_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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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", |