mirror of
https://github.com/openwrt/telephony.git
synced 2025-05-01 10:11:21 +08:00

Add a new patch: 207-opvxa1200-unused-variable.patch which fixes unused variable {pos,x,y} errors in the drivers/dahdi/opvxa1200/base.c file. Fixes compiling against linux >= 6.6 Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
11 lines
293 B
Diff
11 lines
293 B
Diff
--- a/drivers/dahdi/opvxa1200/Kbuild
|
|
+++ b/drivers/dahdi/opvxa1200/Kbuild
|
|
@@ -1,6 +1,6 @@
|
|
obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_OPVXA1200) += opvxa1200.o
|
|
|
|
-EXTRA_CFLAGS += -I$(src)/.. -Wno-undef
|
|
+EXTRA_CFLAGS += -I$(src)/.. -Wno-undef -Wno-error=unused-variable
|
|
|
|
opvxa1200-objs := base.o
|
|
|