From: Russell King Date: Sat, 5 Nov 2005 21:22:13 +0000 (+0000) Subject: [DRIVER MODEL] Fix gbefb X-Git-Tag: v2.6.15-rc1~715^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abbf268ae8f51e19779cdf3f5fbb8144f1a5fbc3;p=pandora-kernel.git [DRIVER MODEL] Fix gbefb 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