From 072ac1a14346cbc9d96bfa63ede284ed863ab2a6 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Sat, 24 Oct 2020 15:38:04 +0000 Subject: [PATCH] backlight(9): compile with COMPAT_LINUXKPI as well This would be more accurately expressed as COMPAT_LINUXKPI implying or requiring backlight, but config(8) doesn't really have a way to express that. This fixes the build with COMPAT_LINUXKPI specified in one's kernel config. --- sys/conf/files | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/conf/files b/sys/conf/files index 9c71811822ce..7279a6b41c97 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -1312,8 +1312,8 @@ dev/ath/ath_rate/sample/sample.c optional ath_rate_sample \ dev/ath/ath_dfs/null/dfs_null.c optional ath \ compile-with "${NORMAL_C} -I$S/dev/ath" # -dev/backlight/backlight_if.m optional backlight -dev/backlight/backlight.c optional backlight +dev/backlight/backlight_if.m optional backlight | compat_linuxkpi +dev/backlight/backlight.c optional backlight | compat_linuxkpi dev/bce/if_bce.c optional bce dev/bfe/if_bfe.c optional bfe dev/bge/if_bge.c optional bge