summaryrefslogtreecommitdiff
path: root/chip/lm4/fan.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/lm4/fan.c')
-rw-r--r--chip/lm4/fan.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/chip/lm4/fan.c b/chip/lm4/fan.c
index 01f561433d..0153b275fc 100644
--- a/chip/lm4/fan.c
+++ b/chip/lm4/fan.c
@@ -177,13 +177,10 @@ void fan_channel_setup(int ch, unsigned int flags)
static void fan_init(void)
{
-#ifdef CONFIG_PWM_DSLEEP
-
+#ifdef CONFIG_FAN_DSLEEP
/* Enable the fan module and delay a few clocks */
clock_enable_peripheral(CGC_OFFSET_FAN, 0x1, CGC_MODE_ALL);
-
#else
-
/* Enable the fan module and delay a few clocks */
clock_enable_peripheral(CGC_OFFSET_FAN, 0x1,
CGC_MODE_RUN | CGC_MODE_SLEEP);