]> code.ossystems Code Review - meta-freescale.git/blob
a8eb552ca7e6434e5693aea8bbba393eab80ee7c
[meta-freescale.git] /
1 From 0f2d5b37307b96156e35a20bb7e7585e437e11a7 Mon Sep 17 00:00:00 2001
2 From: Daiane Angolini <daiane.angolini@freescale.com>
3 Date: Fri, 20 Apr 2012 15:13:20 -0300
4 Subject: [PATCH] linux-imx: avoid unuset but set variable error for GPU
5  driver
6
7 Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
8 ---
9  drivers/mxc/gpu-viv/Kbuild |    2 +-
10  1 files changed, 1 insertions(+), 1 deletions(-)
11
12 diff --git a/drivers/mxc/gpu-viv/Kbuild b/drivers/mxc/gpu-viv/Kbuild
13 index aa1ec7b..35619fa 100644
14 --- a/drivers/mxc/gpu-viv/Kbuild
15 +++ b/drivers/mxc/gpu-viv/Kbuild
16 @@ -36,7 +36,7 @@ ARCH_KERNEL_DIR := arch/$(notdir $(AQARCH))/hal/kernel
17  ARCH_VG_KERNEL_DIR := arch/$(notdir $(AQVGARCH))/hal/kernel
18  HAL_KERNEL_DIR  := hal/kernel
19  
20 -EXTRA_CFLAGS += -Werror
21 +EXTRA_CFLAGS += -Werror -Wno-unused-but-set-variable
22  
23  OBJS := $(OS_KERNEL_DIR)/gc_hal_kernel_device.o \
24          $(OS_KERNEL_DIR)/gc_hal_kernel_driver.o \
25 -- 
26 1.7.5.4
27