linux-next20080314 build fails with !CONFIG_PM

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kamalesh Babulal
Date: Friday, March 14, 2008 - 12:57 am

The next-20080314 tree build fails 

drivers/serial/serial_core.c: In function `uart_add_one_port':
drivers/serial/serial_core.c:2359: error: invalid lvalue in assignment
make[2]: *** [drivers/serial/serial_core.o] Error 1

The config # CONFIG_PM was not set.The code which is causing the 
build failure is 

	device_can_wakeup(tty_dev) = 1;

when the CONFIG_PM is set the macro is preprocessed as

#define device_can_wakeup(dev) \
        ((dev)->power.can_wakeup)

and when not set, it becomes 0 = 1 

#define device_can_wakeup(dev)                  0

-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
linux-next20080314 build fails with !CONFIG_PM , Kamalesh Babulal, (Fri Mar 14, 12:57 am)
Re: linux-next20080314 build fails with !CONFIG_PM, Andrew Morton, (Fri Mar 14, 3:05 pm)
Re: linux-next20080314 build fails with !CONFIG_PM, Rafael J. Wysocki, (Fri Mar 14, 3:37 pm)
[PATCH 0/3] PM wakeup flags revisited, Alan Stern, (Sat Mar 15, 2:53 pm)