aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_transport_iscsi.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2010-12-09 12:37:56 -0500
committerJames Bottomley <James.Bottomley@suse.de>2010-12-21 13:24:48 -0500
commit058548ae23f5811d0ccdb39d5ad40f078aca63ef (patch)
tree18bbb7a7d7c142cacd5c131f277691c7f81a2d27 /drivers/scsi/scsi_transport_iscsi.c
parent0d81b4e8dcc4177726f30a1ac8df1f726d2a7c0c (diff)
[SCSI] iscsi: add module alias
Since iscsi transport can be built as a module and uses netlink socket to communicate. The module should have an alias to autoload when socket of NETLINK_ISCSI type is requested. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Acked-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/scsi_transport_iscsi.c')
-rw-r--r--drivers/scsi/scsi_transport_iscsi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c
index 332387a6bc25..f905ecb5704d 100644
--- a/drivers/scsi/scsi_transport_iscsi.c
+++ b/drivers/scsi/scsi_transport_iscsi.c
@@ -2200,3 +2200,4 @@ MODULE_AUTHOR("Mike Christie <michaelc@cs.wisc.edu>, "
2200MODULE_DESCRIPTION("iSCSI Transport Interface"); 2200MODULE_DESCRIPTION("iSCSI Transport Interface");
2201MODULE_LICENSE("GPL"); 2201MODULE_LICENSE("GPL");
2202MODULE_VERSION(ISCSI_TRANSPORT_VERSION); 2202MODULE_VERSION(ISCSI_TRANSPORT_VERSION);
2203MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_ISCSI);