From: Tom Lendacky Date: Mon, 6 Jan 2014 19:34:29 +0000 (-0600) Subject: crypto: ccp - CCP device enabled/disabled changes X-Git-Tag: v3.14-rc1~117^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db34cf9122319d6fed59bd3ba26fa099a8ece432;p=pandora-kernel.git crypto: ccp - CCP device enabled/disabled changes The CCP cannot be hot-plugged so it will either be there or it won't. Do not allow the driver to stay loaded if the CCP does not successfully initialize. Provide stub routines in the ccp.h file that return -ENODEV if the CCP has not been configured in the build. Signed-off-by: Tom Lendacky Signed-off-by: Herbert Xu --- Reading git-diff-tree failed