---
name: "class_compat_create_link"
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/class_compat_create_link"
---

# class\_compat\_create\_link(9)

create a compatibility class device link to a bus device

## NAME

class\_compat\_create\_link - create a compatibility class device link to a bus device

## SYNOPSIS

**int class\_compat\_create\_link(struct class\_compat \*** *cls***, struct device \*** *dev***, struct device \*** *device\_link***);**

## ARGUMENTS

*cls*

the compatibility class

*dev*

the target bus device

*device\_link*

an optional device to which a “device” link should be created

## COPYRIGHT
