proxy common: make register/unregister conditional
authorTyler Luu <tluu@ti.com>
Mon, 21 May 2012 19:52:21 +0000 (14:52 -0500)
committerTyler Luu <tluu@ti.com>
Thu, 24 May 2012 22:53:03 +0000 (17:53 -0500)
commit17d8339e1256bdc2c8d0ccf610c333dcd091d240
tree176bb6672a7aa58540fa121a6afc4bd58748e2b4
parent53543a151ce706eaa874093b9672dedca1c237c2
proxy common: make register/unregister conditional

since some kernels do not support OMX_IOCPVRREGISTER, we are
making the compilation on whether or not it is defined.

If OMX_IOCPVRREGISTER is defined in FS but return ENOTTY, this
means that kernel support for this new ioctl has not been merged
yet.

Change-Id: I691a0ba53a53c443efa5341dae93f429f60705d0
Signed-off-by: Tyler Luu <tluu@ti.com>
domx/omx_proxy_common/src/omx_proxy_common.c