diff options
author | Scott James Remnant <scott@canonical.com> | 2009-03-10 12:19:44 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-03-13 16:48:43 -0400 |
commit | 95f6c83f6c57be92c67247802d0f699137957457 (patch) | |
tree | f8e1f0181fe2a807eaae7485b272ce39d5f16d99 /drivers/scsi | |
parent | 7a252fe7bcf64f1174b55c5c696ef2506b849f80 (diff) |
[SCSI] ch: Add scsi type modalias
The ch module is missing the scsi:t-0x08* alias that would cause it to
be auto-loaded when a device of that type if found by udev, requiring
udev to have a specific rule just for this one module. This patch adds
the alias.
Signed-off-by: Scott James Remnant <scott@canonical.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/ch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/ch.c b/drivers/scsi/ch.c index af9725409f43..7b1633a8c15a 100644 --- a/drivers/scsi/ch.c +++ b/drivers/scsi/ch.c | |||
@@ -41,6 +41,7 @@ MODULE_DESCRIPTION("device driver for scsi media changer devices"); | |||
41 | MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org>"); | 41 | MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org>"); |
42 | MODULE_LICENSE("GPL"); | 42 | MODULE_LICENSE("GPL"); |
43 | MODULE_ALIAS_CHARDEV_MAJOR(SCSI_CHANGER_MAJOR); | 43 | MODULE_ALIAS_CHARDEV_MAJOR(SCSI_CHANGER_MAJOR); |
44 | MODULE_ALIAS_SCSI_DEVICE(TYPE_MEDIUM_CHANGER); | ||
44 | 45 | ||
45 | static int init = 1; | 46 | static int init = 1; |
46 | module_param(init, int, 0444); | 47 | module_param(init, int, 0444); |