From 97d245415ef36a45c3446eee6ce9b982c52c8621 Mon Sep 17 00:00:00 2001 From: ganyong Date: Wed, 28 Aug 2013 14:31:36 +0800 Subject: [PATCH] ENGR00276705 Fix build error for wayland driver in Yocto environment Update the macro gcmPROFILE_DECLARE_ONLY to fix Werror(unused-local-typedefs) when gcdENABLE_PROFILING is not enabled. Signed-off-by Yong Gan --- drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_base.h diff --git a/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_base.h b/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_base.h old mode 100644 new mode 100755 index 44689b09e791..926de6e109b7 --- a/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_base.h +++ b/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_base.h @@ -1507,7 +1507,7 @@ gcoOS_QueryProfileTickRate( # define gcmPROFILE_QUERY(start, ticks) do { } while (gcvFALSE) # define gcmPROFILE_ONLY(x) do { } while (gcvFALSE) # define gcmPROFILE_ELSE(x) x -# define gcmPROFILE_DECLARE_ONLY(x) typedef x +# define gcmPROFILE_DECLARE_ONLY(x) do { } while (gcvFALSE) # define gcmPROFILE_DECLARE_ELSE(x) x #endif -- 2.39.5