X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fparisc%2Fpower.c;h=9a2a26c22019cf44e0b175889e42e15ef7216f30;hb=9e1bf581d67d87a1d7fc0ea500729e3a03643a26;hp=d097e7ecdf8eaaf2ffec4f323d0ce7888f543b0d;hpb=8d40237c730b8be87c1b80a5d96b9c603fefa829;p=linux-2.6.git diff --git a/drivers/parisc/power.c b/drivers/parisc/power.c index d097e7ecd..9a2a26c22 100644 --- a/drivers/parisc/power.c +++ b/drivers/parisc/power.c @@ -54,9 +54,9 @@ #ifdef DEBUG -# define DPRINTK(x...) printk(x) +# define DPRINTK(x) printk x #else -# define DPRINTK(x...) +# define DPRINTK(x) do { } while (0) #endif @@ -120,14 +120,14 @@ static int shutdown_timer; static void process_shutdown(void) { if (shutdown_timer == 0) - DPRINTK(KERN_INFO "Shutdown requested...\n"); + DPRINTK((KERN_INFO "Shutdown requested...\n")); shutdown_timer++; /* wait until the button was pressed for 1 second */ if (shutdown_timer == HZ) { static char msg[] = "Shutting down..."; - DPRINTK(KERN_INFO "%s\n", msg); + DPRINTK((KERN_INFO "%s\n", msg)); #ifdef CONFIG_CHASSIS_LCD_LED lcd_print(msg); #endif