forked from pool/vhba-kmp
24 lines
668 B
Diff
24 lines
668 B
Diff
|
From: Jan Engelhardt <jengelh@inai.de>
|
||
|
Date: 2015-11-23 23:33:05.117741396 +0100
|
||
|
|
||
|
vhba: add devname alias
|
||
|
|
||
|
depmod scans the devname aliases and populates
|
||
|
/lib/modules/X/modules.devname, which udev uses to prepopulate /dev
|
||
|
so that, in turn, a program can open a dev node and thereby cause
|
||
|
autoloading.
|
||
|
|
||
|
---
|
||
|
vhba.c | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
Index: vhba-module-20140928/vhba.c
|
||
|
===================================================================
|
||
|
--- vhba-module-20140928.orig/vhba.c
|
||
|
+++ vhba-module-20140928/vhba.c
|
||
|
@@ -1069,3 +1069,4 @@ static void __exit vhba_exit(void)
|
||
|
module_init(vhba_init);
|
||
|
module_exit(vhba_exit);
|
||
|
|
||
|
+MODULE_ALIAS("devname:vhba");
|