X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fvideo%2Fbacklight%2Fhp680_bl.c;h=a71e984c93d47aa8c8678ce1abb98a29b0a39336;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=ffc72ae3ada80a01f98c959099b004e57bc5aed4;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/drivers/video/backlight/hp680_bl.c b/drivers/video/backlight/hp680_bl.c index ffc72ae3a..a71e984c9 100644 --- a/drivers/video/backlight/hp680_bl.c +++ b/drivers/video/backlight/hp680_bl.c @@ -27,7 +27,7 @@ static int hp680bl_suspended; static int current_intensity = 0; -static DEFINE_SPINLOCK(bl_lock); +static spinlock_t bl_lock = SPIN_LOCK_UNLOCKED; static struct backlight_device *hp680_backlight_device; static void hp680bl_send_intensity(struct backlight_device *bd)