]> git.baikalelectronics.ru Git - kernel.git/commit
tcm_fc: init/exit functions should not be protected by "#ifdef MODULE"
authorRoland Dreier <roland@purestorage.com>
Fri, 12 Aug 2011 17:16:52 +0000 (10:16 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 22 Aug 2011 19:26:32 +0000 (19:26 +0000)
commitd6c7ae4a2b7497b759e10c8e9d31d75c3ad46b5b
treed0cc6e5419248685907afe0a693e25de1fdd7f98
parent2c6b442e400c7a418d5c9a3def86bf6472875952
tcm_fc: init/exit functions should not be protected by "#ifdef MODULE"

There's no need for the #ifdef protection when building into the kernel,
and in fact we need the module_init() for the initialization function to
be called.

Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/tcm_fc/tfc_conf.c