---
name: "device_move"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/device_move"
---

# device\_move(9)

moves a device to a new parent

## 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
