diff options
author | Rene Herman <rene.herman@keyaccess.nl> | 2006-03-08 03:14:20 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-03-12 10:11:16 -0500 |
commit | f018fa552c52642a6b9db2bda90477762e42163f (patch) | |
tree | 5baf17322997aae5e9373e8f9e6d1c993d2ad0ff /drivers/scsi/sg.c | |
parent | 76744f429a178ad2df06b722e5e7bbbf1b5245ee (diff) |
[SCSI] MODULE_ALIAS_{BLOCK,CHAR}DEV_MAJOR for drivers/scsi
Add device-major aliases in drivers/scsi, allowing kmod autoload:
MODULE_ALIAS_CHARDEV_MAJOR(SCSI_CHANGER_MAJOR)
MODULE_ALIAS_CHARDEV_MAJOR(OSST_MAJOR)
MODULE_ALIAS_CHARDEV_MAJOR(SCSI_TAPE_MAJOR)
MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_CDROM_MAJOR)
MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_DISKN_MAJOR)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Acked-by: Kai Makisara <kai.makisara@kolumbus.fi>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sg.c')
-rw-r--r-- | drivers/scsi/sg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c index 06fc8ed720fc..af3fea59a456 100644 --- a/drivers/scsi/sg.c +++ b/drivers/scsi/sg.c | |||
@@ -1569,6 +1569,7 @@ MODULE_AUTHOR("Douglas Gilbert"); | |||
1569 | MODULE_DESCRIPTION("SCSI generic (sg) driver"); | 1569 | MODULE_DESCRIPTION("SCSI generic (sg) driver"); |
1570 | MODULE_LICENSE("GPL"); | 1570 | MODULE_LICENSE("GPL"); |
1571 | MODULE_VERSION(SG_VERSION_STR); | 1571 | MODULE_VERSION(SG_VERSION_STR); |
1572 | MODULE_ALIAS_CHARDEV_MAJOR(SCSI_GENERIC_MAJOR); | ||
1572 | 1573 | ||
1573 | MODULE_PARM_DESC(def_reserved_size, "size of buffer reserved for each fd"); | 1574 | MODULE_PARM_DESC(def_reserved_size, "size of buffer reserved for each fd"); |
1574 | MODULE_PARM_DESC(allow_dio, "allow direct I/O (default: 0 (disallow))"); | 1575 | MODULE_PARM_DESC(allow_dio, "allow direct I/O (default: 0 (disallow))"); |
@@ -2966,4 +2967,3 @@ static int sg_proc_seq_show_debug(struct seq_file *s, void *v) | |||
2966 | 2967 | ||
2967 | module_init(init_sg); | 2968 | module_init(init_sg); |
2968 | module_exit(exit_sg); | 2969 | module_exit(exit_sg); |
2969 | MODULE_ALIAS_CHARDEV_MAJOR(SCSI_GENERIC_MAJOR); | ||