1DEVICE_RENAME(9)         Device drivers infrastructure        DEVICE_RENAME(9)
2
3
4

NAME

6       device_rename - renames a device
7

SYNOPSIS

9       int device_rename(struct device * dev, char * new_name);
10

ARGUMENTS

12       dev
13           the pointer to the struct device to be renamed
14
15       new_name
16           the new name of the device
17

DESCRIPTION

19       It is the responsibility of the caller to provide mutual exclusion
20       between two different calls of device_rename on the same device to
21       ensure that new_name is valid and won't conflict with other devices.
22
24Kernel Hackers Manual 2.6.       November 2011                DEVICE_RENAME(9)
Impressum