IB/srp: Rearrange module description
authorBart Van Assche <bart.vanassche@sandisk.com>
Mon, 18 May 2015 11:25:27 +0000 (13:25 +0200)
committerDoug Ledford <dledford@redhat.com>
Mon, 18 May 2015 17:35:56 +0000 (13:35 -0400)
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>
drivers/infiniband/ulp/srp/ib_srp.c

index 880255dbaca4c28da171fcd356fb185ae8acef49..10dd8f266ec1919d596bc7a4ba4bd16bbba23b29 100644 (file)
 #define DRV_RELDATE    "July 1, 2013"
 
 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_VERSION(DRV_VERSION);
+MODULE_INFO(release_date, DRV_RELDATE);
 
 static unsigned int srp_sg_tablesize;
 static unsigned int cmd_sg_entries;