obj-m := driver1.o
ccflags-y := -std=gnu99 -Wno-declaration-after-statement
Makefile 中加入
ccflags-y := -std=gnu99 -Wno-declaration-after-statement
obj-m := driver1.o
ccflags-y := -std=gnu99 -Wno-declaration-after-statement
Makefile 中加入
ccflags-y := -std=gnu99 -Wno-declaration-after-statement