|
@@ -26,7 +26,6 @@
|
|
|
|
|
|
#define RNG_MODULE_NAME "hw_random"
|
|
|
#define PFX RNG_MODULE_NAME ": "
|
|
|
-#define RNG_MISCDEV_MINOR 183 /* official */
|
|
|
|
|
|
static struct hwrng *current_rng;
|
|
|
static struct task_struct *hwrng_fill;
|
|
@@ -285,7 +284,7 @@ static const struct file_operations rng_chrdev_ops = {
|
|
|
static const struct attribute_group *rng_dev_groups[];
|
|
|
|
|
|
static struct miscdevice rng_miscdev = {
|
|
|
- .minor = RNG_MISCDEV_MINOR,
|
|
|
+ .minor = HWRNG_MINOR,
|
|
|
.name = RNG_MODULE_NAME,
|
|
|
.nodename = "hwrng",
|
|
|
.fops = &rng_chrdev_ops,
|