GFX-Display: Add support for HAD to be used as loadable module
authorShreyas Neerebailoor <shreyasx.neerebailoor@intel.com>
Mon, 13 Feb 2012 10:54:06 +0000 (16:24 +0530)
committerbuildbot <buildbot@intel.com>
Fri, 2 Mar 2012 04:28:50 +0000 (20:28 -0800)
commitec26be8eeb3423b72fdcfaca22e95e308c4a4b62
tree189a59af19941d7d8dc576d791e3485c5a52e223
parent2f59d8609ccc94278dee5554408ab032bc92d448
GFX-Display: Add support for HAD to be used as loadable module

BZ: 23487

ospm_power_using_hw_begin/_end() APIs were not exported. Also, few
suspend/resume funcs only check for HAD as static module. Thus,
causing problems when HAD is used as a lodable module.

The solution is to add proper checks and export relevant APIs.

Change-Id: Ice8dd8a3da5b16ccef730b08ef85d0a7ce4c5bde
Signed-off-by: Shreyas Neerebailoor <shreyasx.neerebailoor@intel.com>
Signed-off-by: Tong, Bo <box.tong@intel.com>
Reviewed-on: http://android.intel.com:8080/35122
Reviewed-by: Agarwal, Vaibhav <vaibhav.agarwal@intel.com>
Reviewed-by: Abdullah, Omair M <omair.m.abdullah@intel.com>
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: Kuppuswamy, Sathyanarayanan <sathyanarayanan.kuppuswamy@intel.com>
Reviewed-by: Gupta, ArvindX K <arvindx.k.gupta@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/staging/mrst/drv/psb_intel_hdmi.c
drivers/staging/mrst/drv/psb_powermgmt.c