lkml.org 
[lkml]   [2005]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[TRIVIAL] MODULE_ALIAS_CHARDEV_MAJOR(SCSI_TAPE_MAJOR)
Hi Kai.

Attachment allows st to be autoloaded.

Rene.
--- linux-2.6.11-rc1.orig/drivers/scsi/st.c 2004-12-26 23:33:37.000000000 +0100
+++ linux-2.6.11-rc1/drivers/scsi/st.c 2005-01-16 17:32:45.000000000 +0100
@@ -85,6 +85,7 @@
MODULE_AUTHOR("Kai Makisara");
MODULE_DESCRIPTION("SCSI Tape Driver");
MODULE_LICENSE("GPL");
+MODULE_ALIAS_CHARDEV_MAJOR(SCSI_TAPE_MAJOR);

/* Set 'perm' (4th argument) to 0 to disable module_param's definition
* of sysfs parameters (which module_param doesn't yet support).
\
 
 \ /
  Last update: 2005-03-22 14:09    [W:1.856 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site