From: Roland Dreier Date: Tue, 5 Jul 2011 20:34:50 +0000 (-0700) Subject: target: Allow for built-in target modules X-Git-Tag: v3.1-rc1~305^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5fbed856931faa1e94a76caf0f0c273c67f0d32;p=pandora-kernel.git target: Allow for built-in target modules In target_fabric_configfs_init(), we should allow fabric_mod to be NULL, since THIS_MODULE is NULL for built-in modules. The main method of using the target code may be as modules, but having everything built-in is useful eg to be able to do quick testing with "qemu -kernel". In any case, we shouldn't bomb out fabric registration for a perfectly valid configuration, so simply drop the check of fabric_mod. Signed-off-by: Roland Dreier Reviewed-by: Christoph Hellwig Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed