Index: sys/external/bsd/drm2/dist/drm/i915/intel_panel.c =================================================================== RCS file: /cvsroot/src/sys/external/bsd/drm2/dist/drm/i915/intel_panel.c,v retrieving revision 1.6 diff -p -u -r1.6 intel_panel.c --- sys/external/bsd/drm2/dist/drm/i915/intel_panel.c 4 Nov 2014 03:05:36 -0000 1.6 +++ sys/external/bsd/drm2/dist/drm/i915/intel_panel.c 16 Feb 2016 23:22:12 -0000 @@ -30,6 +30,7 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt +#include #include #include #include @@ -398,8 +399,7 @@ static u32 vlv_get_backlight(struct inte return _vlv_get_backlight(dev, pipe); } -#if IS_ENABLED(CONFIG_BACKLIGHT_CLASS_DEVICE) -static u32 intel_panel_get_backlight(struct intel_connector *connector) +u32 intel_panel_get_backlight(struct intel_connector *connector) { struct drm_device *dev = connector->base.dev; struct drm_i915_private *dev_priv = dev->dev_private; @@ -416,7 +416,6 @@ static u32 intel_panel_get_backlight(str DRM_DEBUG_DRIVER("get backlight PWM = %d\n", val); return val; } -#endif static void bdw_set_backlight(struct intel_connector *connector, u32 level) {