### Method

# FwupdPlugin Device add_parent_backend_id

since: 1.9.7

#### Declaration [src]

    void
    fu_device_add_parent_backend_id (
      FuDevice* self,
      const gchar* backend_id
    )

#### Description [src]

Sets any parent device using the physical ID. An parent device is logically linked to the primary device in some way and can be added before or after `self`.

The IDs are searched in order, and so the order of adding IDs may be important if more than one parent device might match.

Available since: 1.9.7

#### Parameters

`backend_id`

  Type: `const gchar*`

  A device physical ID.

  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.