[PATCH] devfs: Remove the gendisk devfs_name field as it's no longer needed
And remove the now unneeded number field. Also fixes all drivers that set these fields. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@ -1695,7 +1695,6 @@ static int __init sjcd_init(void)
|
||||
sjcd_disk->first_minor = 0,
|
||||
sjcd_disk->fops = &sjcd_fops,
|
||||
sprintf(sjcd_disk->disk_name, "sjcd");
|
||||
sprintf(sjcd_disk->devfs_name, "sjcd");
|
||||
|
||||
if (!request_region(sjcd_base, 4,"sjcd")) {
|
||||
printk
|
||||
|
Reference in New Issue
Block a user