Messages in this thread | | | Date | Sat, 12 Feb 2005 15:31:50 -0200 | From | Rogério Brito <> | Subject | Warnings when compiling apm |
| |
Hi there.
For many kernel releases, including 2.6.11-rc3-mm2, I ve been getting warnings like the following when compiling the apm driver:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CC arch/i386/kernel/apm.o arch/i386/kernel/apm.c: In function `suspend': arch/i386/kernel/apm.c:1191: warning: `pm_send_all' is deprecated (declared at include/linux/pm.h:126) arch/i386/kernel/apm.c:1241: warning: `pm_send_all' is deprecated (declared at include/linux/pm.h:126) arch/i386/kernel/apm.c: In function `check_events': arch/i386/kernel/apm.c:1357: warning: `pm_send_all' is deprecated (declared at include/linux/pm.h:126) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Unfortunately, I read the code in pm.h and apm.c to see if I could fix the problem, but I am just not sure if killing the calls to pm_send_all is something that should be done or not (the function currently is just an inline function that returns 0).
Similar things can be said about pm_register, pm_unregister, pm_unregister_all and pm_send.
Thanks for any guidance, Rogério.
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rogério Brito - rbrito@ime.usp.br - http://www.ime.usp.br/~rbrito =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |