From: Russell King Date: Wed, 9 Nov 2005 17:23:39 +0000 (+0000) Subject: [DRIVER MODEL] Add platform_driver X-Git-Tag: v2.6.15-rc1~12^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00d3dcdd96646be6059cc21f2efa94c4edc1eda5;p=pandora-kernel.git [DRIVER MODEL] Add platform_driver Introduce struct platform_driver. This allows the platform device driver methods to be passed a platform_device structure instead of instead of a plain device structure, and therefore requiring casting in every platform driver. We introduce this in such a way that any existing platform drivers registered directly via driver_register continue to work as before, thereby allowing a gradual conversion to the new platform_driver methods. Signed-off-by: Russell King Acked-by: Greg Kroah-Hartman --- Reading git-diff-tree failed