aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_fabric_configfs.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-11-14 12:30:30 -0500
committerNicholas Bellinger <nab@linux-iscsi.org>2011-12-14 08:51:12 +0000
commite26d99aed42ec6cdc9540d19c77ac5d4dd2c5b00 (patch)
tree9c0424f81877d6c5cfaf7746447e0c9decf8e82e /drivers/target/target_core_fabric_configfs.c
parentLinux 3.2-rc5 (diff)
downloadlinux-dev-e26d99aed42ec6cdc9540d19c77ac5d4dd2c5b00.tar.xz
linux-dev-e26d99aed42ec6cdc9540d19c77ac5d4dd2c5b00.zip
target: reshuffle headers
Create a new headers, drivers/target/target_core_internal.h that is supposed to hold all target_core-internal prototypes. Move all non-exported includes from include/target to it, and merge the smaller prototype-only includes inside drivers/target into it as well. Mark functions that were found to not be called outside their implementation file static. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_fabric_configfs.c')
-rw-r--r--drivers/target/target_core_fabric_configfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/target/target_core_fabric_configfs.c b/drivers/target/target_core_fabric_configfs.c
index 09b6f8729f91..fa1e4eb01bc7 100644
--- a/drivers/target/target_core_fabric_configfs.c
+++ b/drivers/target/target_core_fabric_configfs.c
@@ -44,10 +44,9 @@
#include <target/target_core_configfs.h>
#include <target/configfs_macros.h>
+#include "target_core_internal.h"
#include "target_core_alua.h"
-#include "target_core_hba.h"
#include "target_core_pr.h"
-#include "target_core_stat.h"
#define TF_CIT_SETUP(_name, _item_ops, _group_ops, _attrs) \
static void target_fabric_setup_##_name##_cit(struct target_fabric_configfs *tf) \