From: Lu Guanqun Date: Wed, 6 Apr 2011 02:20:42 +0000 (+0800) Subject: sst: make register_sst_card more self-contained X-Git-Tag: v3.0-rc1~336^2~458 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31dea7385174596f4369f71c712f1d1006a3fa05;p=pandora-kernel.git sst: make register_sst_card more self-contained register_sst_card is used in ASoC code with field `scard_ops` being NULL. Without this patch, there will be NULL dereference. Signed-off-by: Lu Guanqun Signed-off-by: Mark Brown Cc: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed