[PATCH v3 1/2] dgnc: Remove superfluous EXTRA_CFLAGS variable

From: Cass May
Date: Sun Feb 15 2015 - 18:40:31 EST

Clean up Makefile by removing unnecessary definition of DG_NAME.

Signed-off-by: Cass May <cass@xxxxxxxxx>
Having done some build tests, it seems that DG_NAME is not needed,
but DG_PART is referenced in dgnc_mgmt.c. I have removed the former,
and moved the latter into the appropriate header.

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..84cc98d 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\"
+EXTRA_CFLAGS += -DDG_PART=\"40002369_F\"

obj-$(CONFIG_DGNC) += dgnc.o


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/