From: Jack Steiner Date: Wed, 19 Nov 2008 23:36:18 +0000 (-0800) Subject: GRU: fix for debug option X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=415d8cfa845ec9dac42e7b354b1f80485805455b;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git GRU: fix for debug option Enable -D DEBUG in the GRU Makefile if CONFIG_SGI_GRU_DEBUG is selected. Signed-off-by: Jack Steiner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/misc/sgi-gru/Makefile b/drivers/misc/sgi-gru/Makefile index d03597a521b0..9e9170b3599a 100644 --- a/drivers/misc/sgi-gru/Makefile +++ b/drivers/misc/sgi-gru/Makefile @@ -1,3 +1,7 @@ +ifdef CONFIG_SGI_GRU_DEBUG + EXTRA_CFLAGS += -DDEBUG +endif + obj-$(CONFIG_SGI_GRU) := gru.o gru-y := grufile.o grumain.o grufault.o grutlbpurge.o gruprocfs.o grukservices.o