[PATCH] Staging: dgnc: fixed depreciated EXTRA_CFLAGS in MakeFile

Joshua James joshua at cybercrimetech.com
Tue Jan 13 09:54:38 UTC 2015


Replaced depreciated EXTRA_CFLAGS with ccflags-y as identified by checkpatch:
WARNING: Use of EXTRA_CFLAGS is deprecated, please use `ccflags-y instead.
+EXTRA_CFLAGS += -DDG_NAME=\"dgnc-1.3-16\" -DDG_PART=\"40002369_F\"

Signed-off-by: Joshua James <joshua at cybercrimetech.com>
---
 drivers/staging/dgnc/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/dgnc/Makefile b/drivers/staging/dgnc/Makefile
index b69f7b6..d70323e 100644
--- a/drivers/staging/dgnc/Makefile
+++ b/drivers/staging/dgnc/Makefile
@@ -1,4 +1,4 @@
-EXTRA_CFLAGS += -DDG_NAME=\"dgnc-1.3-16\" -DDG_PART=\"40002369_F\"
+ccflags-y += -DDG_NAME=\"dgnc-1.3-16\" -DDG_PART=\"40002369_F\"
 
 obj-$(CONFIG_DGNC) += dgnc.o
 
-- 
1.9.1



More information about the devel mailing list