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

2015-02-16 Thread Cass May
On Mon, 2015-02-16 at 12:12 +0300, Dan Carpenter wrote: > On Sun, Feb 15, 2015 at 11:40:17PM +0000, Cass May wrote: > > Clean up Makefile by removing unnecessary definition of DG_NAME. > > > > Signed-off-by: Cass May > > --- > > Having done some build tests, it

[PATCH 2/2] dgnc: Move DG_PART definition from Makefile to dgnc_driver.h

2015-02-15 Thread Cass May
Avoid deprecated usage of EXTRA_CFLAGS by moving definition of DG_PART into dgnc_driver.h Signed-off-by: Cass May --- drivers/staging/dgnc/Makefile | 2 -- drivers/staging/dgnc/dgnc_driver.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/dgnc/Makefile

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

2015-02-15 Thread Cass May
Clean up Makefile by removing unnecessary definition of DG_NAME. Signed-off-by: Cass May --- 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

[PATCH v2] dgnc: Use ccflags -y instead of EXTRA_CFLAGS

2015-02-13 Thread Cass May
Correction to syntax error in previous patch version. Apologies. Signed-off-by: Cass May --- 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..a278900 100644 --- a

[PATCH] dgnc: Use ccflags -y instead of EXTRA_CFLAGS

2015-02-13 Thread Cass May
checkpatch fix Signed-off-by: Cass May --- 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