From: Russell King Date: Sat, 6 May 2006 07:15:26 +0000 (+0100) Subject: [PATCH] Driver Core: Fix platform_device_add to use device_add X-Git-Tag: v2.6.18-rc1~858^2~123 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e391553222211e07dfbe2f01c413b4e6d0ae32aa;p=pandora-kernel.git [PATCH] Driver Core: Fix platform_device_add to use device_add platform_device_add() should be using device_add() rather than device_register() - any platform device passed to platform_device_add() should have already been initialised, either by platform_device_alloc() or platform_device_register(). Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed