All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next20080314 build fails with !CONFIG_PM
@ 2008-03-14  7:57 Kamalesh Babulal
  2008-03-14 22:05 ` Andrew Morton
  0 siblings, 1 reply; 11+ messages in thread
From: Kamalesh Babulal @ 2008-03-14  7:57 UTC (permalink / raw)
  To: linux-next; +Cc: sfr, kernel list, Andy Whitcroft

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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-03-15 21:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-14  7:57 linux-next20080314 build fails with !CONFIG_PM Kamalesh Babulal
2008-03-14 22:05 ` Andrew Morton
2008-03-14 22:37   ` Rafael J. Wysocki
2008-03-15 21:53     ` [PATCH 0/3] PM wakeup flags revisited Alan Stern
2008-03-15 21:53     ` Alan Stern
2008-03-15 21:53     ` [PATCH 1/3] Fix misuse of wakeup flag accessors in serial core Alan Stern
2008-03-15 21:53     ` Alan Stern
2008-03-15 21:53     ` [PATCH 2/3] PM: make wakeup flags available whenever CONFIG_PM is set (ver 2) Alan Stern
2008-03-15 21:53     ` Alan Stern
2008-03-15 21:54     ` [PATCH 3/3] PM: convert wakeup flag accessors to inline functions Alan Stern
2008-03-15 21:54     ` Alan Stern

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.