diff options
Diffstat (limited to 'block')
-rw-r--r-- | block/bsg.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/block/bsg.c b/block/bsg.c index 55a4303ed21f..8e5fcf2d70e6 100644 --- a/block/bsg.c +++ b/block/bsg.c | |||
@@ -33,7 +33,8 @@ | |||
33 | #include <scsi/scsi_driver.h> | 33 | #include <scsi/scsi_driver.h> |
34 | #include <scsi/sg.h> | 34 | #include <scsi/sg.h> |
35 | 35 | ||
36 | const static char bsg_version[] = "block layer sg (bsg) 0.4"; | 36 | #define BSG_DESCRIPTION "Block layer SCSI generic (bsg) driver" |
37 | #define BSG_VERSION "0.4" | ||
37 | 38 | ||
38 | struct bsg_device { | 39 | struct bsg_device { |
39 | request_queue_t *queue; | 40 | request_queue_t *queue; |
@@ -1072,7 +1073,8 @@ static int __init bsg_init(void) | |||
1072 | if (ret) | 1073 | if (ret) |
1073 | goto remove_cdev; | 1074 | goto remove_cdev; |
1074 | 1075 | ||
1075 | printk(KERN_INFO "%s loaded (major %d)\n", bsg_version, bsg_major); | 1076 | printk(KERN_INFO BSG_DESCRIPTION "version " BSG_VERSION |
1077 | " loaded (major %d)\n", bsg_major); | ||
1076 | return 0; | 1078 | return 0; |
1077 | remove_cdev: | 1079 | remove_cdev: |
1078 | printk(KERN_ERR "bsg: failed register scsi interface %d\n", ret); | 1080 | printk(KERN_ERR "bsg: failed register scsi interface %d\n", ret); |
@@ -1087,7 +1089,7 @@ destroy_kmemcache: | |||
1087 | } | 1089 | } |
1088 | 1090 | ||
1089 | MODULE_AUTHOR("Jens Axboe"); | 1091 | MODULE_AUTHOR("Jens Axboe"); |
1090 | MODULE_DESCRIPTION("Block layer SGSI generic (sg) driver"); | 1092 | MODULE_DESCRIPTION(BSG_DESCRIPTION); |
1091 | MODULE_LICENSE("GPL"); | 1093 | MODULE_LICENSE("GPL"); |
1092 | 1094 | ||
1093 | device_initcall(bsg_init); | 1095 | device_initcall(bsg_init); |