device_rename

Langue: en

Autres versions - même langue

Version: May 2009 (fedora - 06/07/09)

Section: 9 (Appels noyau Linux)

NAME

device_rename - renames a device

SYNOPSIS

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

ARGUMENTS

dev

the pointer to the struct device to be renamed

new_name

the new name of the device

DESCRIPTION

It is the responsibility of the caller to provide mutual exclusion between two different calls of device_rename on the same device to ensure that new_name is valid and won't conflict with other devices.