Convert printk to pr_... macros

For pr_debug outputs on _DSM results, use "make DEBUG=1"
This commit is contained in:
Peter Wu
2012-10-19 16:58:43 +02:00
parent aeff596524
commit b8a6029692
2 changed files with 33 additions and 35 deletions

View File

@ -5,6 +5,10 @@ KVERSION := $(shell uname -r)
KDIR := /lib/modules/$(KVERSION)/build
PWD := "$$(pwd)"
ifdef DEBUG
CFLAGS_$(obj-m) := -DDEBUG
endif
default:
$(MAKE) -C $(KDIR) M=$(PWD) modules