For some files under sys/dev/drm2/i915, turn off warnings about unused

functions and variables, since they are contributed code.

MFC after:	3 days
This commit is contained in:
Dimitry Andric 2013-12-28 22:35:16 +00:00
parent c321b45ec2
commit 28f17f18c6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=260019

View file

@ -38,3 +38,8 @@ SRCS += device_if.h fb_if.h bus_if.h pci_if.h iicbus_if.h iicbb_if.h \
opt_drm.h opt_compat.h opt_syscons.h
.include <bsd.kmod.mk>
CWARNFLAGS.i915_debug.c= -Wno-unused-function
CWARNFLAGS.intel_lvds.c= -Wno-unused
CWARNFLAGS.intel_tv.c= -Wno-unused
CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}