From: Felipe Balbi Date: Wed, 5 Oct 2011 06:29:13 +0000 (+0300) Subject: wl12xx: add a platform device to the spi module X-Git-Tag: v3.3-rc1~182^2~261^2~2^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0969d6793f4899a4c5f56443d50f272068b97142;p=pandora-kernel.git wl12xx: add a platform device to the spi module The platform device will be used to match the platform driver that will be implemented by the core module. Signed-off-by: Felipe Balbi [forward-ported, cleaned-up and rephrased commit message] [call platform_device_add() instead of platform_device_register()] [store alloc'ed device platform directly in glue->core] [fixed the length of memset(res...)] Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed