]> git.baikalelectronics.ru Git - kernel.git/commit
hvc_console: Remove __devexit annotation of hvc_remove()
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Mon, 13 Oct 2008 23:12:52 +0000 (23:12 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 22 Oct 2008 00:00:25 +0000 (11:00 +1100)
commit0ad8113cd828207a6bff839812504d60ad1fe538
treefe23b3354bcb6c288f5abaaf841cd9ec813cd20c
parent66e4f2571d927a2d7ea3320d2fb5ad25ed40e964
hvc_console: Remove __devexit annotation of hvc_remove()

Removed __devexit annotation of hvc_remove() to avoid a section mismatch
if the backend initialization fails and hvc_remove() must be used to
clean up allocated hvc structs (called in section __init or __devinit).

Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/char/hvc_console.c
drivers/char/hvc_console.h