dgnc: Move DG_PART definition from Makefile to dgnc_driver.h
Avoid deprecated usage of EXTRA_CFLAGS by moving definition of DG_PART into dgnc_driver.h Signed-off-by: Cass May <cass@cassm.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fd933bae14
commit
f11cc56875
2 changed files with 1 additions and 2 deletions
|
@ -1,5 +1,3 @@
|
||||||
EXTRA_CFLAGS += -DDG_PART=\"40002369_F\"
|
|
||||||
|
|
||||||
obj-$(CONFIG_DGNC) += dgnc.o
|
obj-$(CONFIG_DGNC) += dgnc.o
|
||||||
|
|
||||||
dgnc-objs := dgnc_cls.o dgnc_driver.o\
|
dgnc-objs := dgnc_cls.o dgnc_driver.o\
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
#define PROCSTR "dgnc" /* /proc entries */
|
#define PROCSTR "dgnc" /* /proc entries */
|
||||||
#define DEVSTR "/dev/dg/dgnc" /* /dev entries */
|
#define DEVSTR "/dev/dg/dgnc" /* /dev entries */
|
||||||
#define DRVSTR "dgnc" /* Driver name string */
|
#define DRVSTR "dgnc" /* Driver name string */
|
||||||
|
#define DG_PART "40002369_F" /* RPM part number */
|
||||||
|
|
||||||
#define TRC_TO_CONSOLE 1
|
#define TRC_TO_CONSOLE 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue