From cbd6064e48c8efa47163bfac16afdc09426a55bd Mon Sep 17 00:00:00 2001 From: Matthew Wilcox Date: Tue, 15 Mar 2005 16:28:07 -0800 Subject: [PATCH] [PATCH] PA-RISC power controller update - Small cleanups to LED/LCD support code From: Grant Grundler - asm/irq.h is unnecessary Signed-off-by: Matthew Wilcox Signed-off-by: Linus Torvalds --- drivers/parisc/power.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/parisc/power.c b/drivers/parisc/power.c index d097e7ecdf8e..ff75e9296df9 100644 --- a/drivers/parisc/power.c +++ b/drivers/parisc/power.c @@ -47,7 +47,6 @@ #include #include -#include #include #include #include @@ -126,11 +125,11 @@ static void process_shutdown(void) /* wait until the button was pressed for 1 second */ if (shutdown_timer == HZ) { +#if defined (DEBUG) || defined(CONFIG_CHASSIS_LCD_LED) static char msg[] = "Shutting down..."; +#endif DPRINTK(KERN_INFO "%s\n", msg); -#ifdef CONFIG_CHASSIS_LCD_LED lcd_print(msg); -#endif poweroff(); } } -- 2.39.5