video: tegra: update nvmap_alloc_handle interface for Android only
Varun Wadekar [Tue, 17 Jul 2012 04:20:46 +0000 (09:20 +0530)]
Bug 1017884

Change-Id: I237cdb06f19b3ae0bf217f99ffeb705809716e12
Reported-by: Michal Pecio <mpecio@nvidia.com>
Signed-off-by: Michal Pecio <mpecio@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

drivers/video/tegra/nvmap/nvmap_ioctl.h

index dcecaf5..6315837 100644 (file)
@@ -58,8 +58,10 @@ struct nvmap_alloc_handle {
        __u32 heap_mask;
        __u32 flags;
        __u32 align;
+#ifdef CONFIG_ANDROID
        __u8 kind;
        __u8 comp_tag;
+#endif
 };
 
 struct nvmap_map_caller {