gralloc: Remove ifdef around assignment of perform

* Perform is used for more than HDMI, and without this set on devices
   that don't have HDMI enabled, crashes result.

Change-Id: I9029892a12ab09ffb66b3560f796ffb99ea57460
This commit is contained in:
Steve Kondik 2012-05-28 06:46:22 -07:00 committed by Andrew Sutherland
parent 6107e39aec
commit 1ded1767f9

View File

@ -973,9 +973,7 @@ int fb_device_open(hw_module_t const* module, const char* name,
dev->device.setUpdateRect = 0;
dev->device.compositionComplete = fb_compositionComplete;
dev->device.lockBuffer = fb_lockBuffer;
#if defined(HDMI_DUAL_DISPLAY)
dev->device.perform = fb_perform;
#endif
private_module_t* m = (private_module_t*)module;
status = mapFrameBuffer(m);