mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
[PATCH] devfs: Remove devfs_mk_bdev() function from the kernel tree
Removes the devfs_mk_bdev() function and all callers of it. Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
79021a625c
commit
1a715c5cf9
5 changed files with 0 additions and 54 deletions
|
|
@ -342,10 +342,6 @@ void add_partition(struct gendisk *disk, int part, sector_t start, sector_t len)
|
|||
p->nr_sects = len;
|
||||
p->partno = part;
|
||||
|
||||
devfs_mk_bdev(MKDEV(disk->major, disk->first_minor + part),
|
||||
S_IFBLK|S_IRUSR|S_IWUSR,
|
||||
"%s/part%d", disk->devfs_name, part);
|
||||
|
||||
if (isdigit(disk->kobj.name[strlen(disk->kobj.name)-1]))
|
||||
snprintf(p->kobj.name,KOBJ_NAME_LEN,"%sp%d",disk->kobj.name,part);
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue