nouveau: backlight compat fix

Avoid failure to build on old kernels with CONFIG_BACKLIGHT_CLASS_DEVICE set
main
Stuart Bennett 2009-05-06 23:56:51 +01:00
parent e2b5fde7f6
commit 94d48d0385
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@
#include "nouveau_drm.h"
#include "nouveau_reg.h"
#ifdef CONFIG_BACKLIGHT_CLASS_DEVICE
#if defined(CONFIG_BACKLIGHT_CLASS_DEVICE) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23))
static int nv40_get_intensity(struct backlight_device *bd)
{