]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] dcdbas: dcdbas_pdev referenced after platform_device_unregister on exit
authorDoug Warzecha <Douglas_Warzecha@dell.com>
Fri, 10 Mar 2006 01:33:35 +0000 (17:33 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 10 Mar 2006 03:47:36 +0000 (19:47 -0800)
commit435a80f610b2ac38a4b5334a7ae22672de3f06bd
treeddac23d1719827a21cee10d0991ed078a8825c97
parent85a6cd03a97f04ffff7bfedfa3172894ca9a617b
[PATCH] dcdbas: dcdbas_pdev referenced after platform_device_unregister on exit

smi_data_buf_free() references dcdbas_pdev when calling
dma_free_coherent().  In dcdbas_exit(), smi_data_buf_free() is called after
platform_device_unregister(dcdbas_pdev).

This patch moves platform_device_unregister(dcdbas_pdev) after
smi_data_buf_free() in dcdbas_exit().

Signed-off-by: Doug Warzecha <Douglas_Warzecha@dell.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/firmware/dcdbas.c