瀏覽代碼

IB/srp: Rearrange module description

Move the module version and release date into separate fields.
This makes the modinfo output easier to read.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Cc: Sebastian Parschauer <sebastian.riemer@profitbricks.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Bart Van Assche 10 年之前
父節點
當前提交
33ab3e5ba2
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      drivers/infiniband/ulp/srp/ib_srp.c

+ 3 - 2
drivers/infiniband/ulp/srp/ib_srp.c

@@ -59,9 +59,10 @@
 #define DRV_RELDATE	"July 1, 2013"
 #define DRV_RELDATE	"July 1, 2013"
 
 
 MODULE_AUTHOR("Roland Dreier");
 MODULE_AUTHOR("Roland Dreier");
-MODULE_DESCRIPTION("InfiniBand SCSI RDMA Protocol initiator "
-		   "v" DRV_VERSION " (" DRV_RELDATE ")");
+MODULE_DESCRIPTION("InfiniBand SCSI RDMA Protocol initiator");
 MODULE_LICENSE("Dual BSD/GPL");
 MODULE_LICENSE("Dual BSD/GPL");
+MODULE_VERSION(DRV_VERSION);
+MODULE_INFO(release_date, DRV_RELDATE);
 
 
 static unsigned int srp_sg_tablesize;
 static unsigned int srp_sg_tablesize;
 static unsigned int cmd_sg_entries;
 static unsigned int cmd_sg_entries;