git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Driver Core: misc: add nodename support for misc devices.
[safe/jmp/linux-2.6]
/
drivers
/
char
/
hw_random
/
core.c
diff --git
a/drivers/char/hw_random/core.c
b/drivers/char/hw_random/core.c
index
e5d583c
..
fc93e2f
100644
(file)
--- a/
drivers/char/hw_random/core.c
+++ b/
drivers/char/hw_random/core.c
@@
-153,6
+153,7
@@
static const struct file_operations rng_chrdev_ops = {
static struct miscdevice rng_miscdev = {
.minor = RNG_MISCDEV_MINOR,
.name = RNG_MODULE_NAME,
+ .devnode = "hwrng",
.fops = &rng_chrdev_ops,
};