From: Yong Wang Date: Wed, 17 Nov 2010 14:08:28 +0000 (+0800) Subject: staging: spectra: move all init logic into nand_pci_probe X-Git-Tag: v2.6.38-rc1~423^2~272 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f5a416216fe2c39171326897e074d417df1082b;p=pandora-kernel.git staging: spectra: move all init logic into nand_pci_probe Currently there are some driver initialization logic that is not part of nand_pci_probe function. This will result in that part of driver initialization code executing even on platforms without the corresponding hardware which is always dangerous. Signed-off-by: Chuanxiao Dong Signed-off-by: Yong Wang Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed