#ifdef DEBUG
-# define DPRINTK(x...) printk(x)
+# define DPRINTK(x) printk x
#else
-# define DPRINTK(x...)
+# define DPRINTK(x) do { } while (0)
#endif
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