target: Move a declaration of a global variable into a header file
authorBart Van Assche <bart.vanassche@wdc.com>
Tue, 31 Oct 2017 18:03:09 +0000 (11:03 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 4 Nov 2017 22:15:30 +0000 (15:15 -0700)
commitc48e5594d02f224c788cc57b192c61653a117b56
tree614f968ec797ed957d5b41b37554a7a3fb72a186
parent0d44374c1aaec7c81b470d3b5f955bc270711f9c
target: Move a declaration of a global variable into a header file

This patch avoids that sparse reports the following warning:

drivers/target/target_core_configfs.c:2267:33: warning: symbol 'target_core_dev_item_ops' was not declared. Should it be static?

Fixes: c17cd24959cd ("target/configfs: Kill se_device->dev_link_magic")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Mike Christie <mchristi@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_fabric_configfs.c
drivers/target/target_core_internal.h