-rw-r--r-- | hwc2/common/devices/PhysicalDevice.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hwc2/common/devices/PhysicalDevice.cpp b/hwc2/common/devices/PhysicalDevice.cpp index 338b83a..c00a46c 100644 --- a/hwc2/common/devices/PhysicalDevice.cpp +++ b/hwc2/common/devices/PhysicalDevice.cpp @@ -29,7 +29,9 @@ #include <tvp/OmxUtil.h> #include <framebuffer.h> #include <AmVideo.h> -#define FBIOPUT_OSD_CURSOR 0x451a + +#define FB_IOC_MAGIC 'O' +#define FBIOPUT_OSD_CURSOR _IOWR(FB_IOC_MAGIC, 0x0, struct fb_cursor) namespace android { namespace amlogic { |