linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 1/2] dgnc: Remove superfluous EXTRA_CFLAGS variable
@ 2015-02-15 23:40 Cass May
  2015-02-15 23:40 ` [PATCH 2/2] dgnc: Move DG_PART definition from Makefile to dgnc_driver.h Cass May
  2015-02-16  9:12 ` [PATCH v3 1/2] dgnc: Remove superfluous EXTRA_CFLAGS variable Dan Carpenter
  0 siblings, 2 replies; 4+ messages in thread
From: Cass May @ 2015-02-15 23:40 UTC (permalink / raw)
  To: lidza.louina, markh
  Cc: gregkh, driverdev-devel, devel, linux-kernel, Cass May

Clean up Makefile by removing unnecessary definition of DG_NAME.

Signed-off-by: Cass May <cass@cassm.net>
---
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
 
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-16 14:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-15 23:40 [PATCH v3 1/2] dgnc: Remove superfluous EXTRA_CFLAGS variable Cass May
2015-02-15 23:40 ` [PATCH 2/2] dgnc: Move DG_PART definition from Makefile to dgnc_driver.h Cass May
2015-02-16  9:12 ` [PATCH v3 1/2] dgnc: Remove superfluous EXTRA_CFLAGS variable Dan Carpenter
2015-02-16 14:46   ` Cass May

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).