Skip to content

Commit

Permalink
According to Richard Schuetz, LEDs will work without CONFIG_LEDS_CLASS.
Browse files Browse the repository at this point in the history
  • Loading branch information
tetromino committed Feb 13, 2009
1 parent b4399d7 commit c37fd93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lenovo-sl-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ static int backlight_init(void)
LEDs
*************************************************************************/

#ifdef CONFIG_LEDS_CLASS
#ifdef CONFIG_NEW_LEDS

#define LENSL_LED_TV_OFF 0
#define LENSL_LED_TV_ON 0x02
Expand Down Expand Up @@ -652,7 +652,7 @@ static int led_init (void)
return 0;
}

#else /* CONFIG_LEDS_CLASS */
#else /* CONFIG_NEW_LEDS */

static void led_exit (void)
{
Expand All @@ -663,7 +663,7 @@ static int led_init (void)
return -ENODEV;
}

#endif /* CONFIG_LEDS_CLASS */
#endif /* CONFIG_NEW_LEDS */

/*************************************************************************
hotkeys
Expand Down

0 comments on commit c37fd93

Please sign in to comment.