Commit f11cc568 authored by Cass May's avatar Cass May Committed by Greg Kroah-Hartman

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: default avatarCass May <cass@cassm.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fd933bae
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 @@ ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment