Scroll to navigation

DEVICE_MOVE(9) Device drivers infrastructure DEVICE_MOVE(9)

NAME

device_move - moves a device to a new parent

SYNOPSIS

int device_move(struct device * dev, struct device * new_parent, enum dpm_order dpm_order);

ARGUMENTS

dev

the pointer to the struct device to be moved

new_parent

the new parent of the device (can by NULL)

dpm_order

how to reorder the dpm_list

COPYRIGHT

May 2024 Kernel Hackers Manual 2.6.