From: Russell King Date: Sat, 5 Nov 2005 21:22:39 +0000 (+0000) Subject: [DRIVER MODEL] Fix sgivwfb X-Git-Tag: v2.6.15-rc1~715^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c119aa8091a15a87920f09aa0f17e05960fe11b;p=pandora-kernel.git [DRIVER MODEL] Fix sgivwfb Statically allocated devices in module data is a potential cause of oopsen. The device may be in use by a userspace process, which will keep a reference to the device. If the module is unloaded, the module data will be freed. Subsequent use of the platform device will cause a kernel oops. Use generic platform device allocation/release code in modules. Signed-off-by: Russell King Acked-by: Greg Kroah-Hartman --- Reading git-diff-tree failed