---
name: "ccwgroup_create_dev"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/ccwgroup_create_dev"
---

# ccwgroup\_create\_dev(9)

create and register a ccw group device

## NAME

ccwgroup\_create\_dev - create and register a ccw group device

## SYNOPSIS

**int ccwgroup\_create\_dev(struct device \*** *parent***, struct ccwgroup\_driver \*** *gdrv***, int** *num\_devices***, const char \*** *buf***);**

## ARGUMENTS

*parent*

parent device for the new device

*gdrv*

driver for the new group device

*num\_devices*

number of slave devices

*buf*

buffer containing comma separated bus ids of slave devices

## DESCRIPTION

Create and register a new ccw group device as a child of *parent*. Slave devices are obtained from the list of bus ids given in *buf*.

## RETURN

**0** on success and an error code on failure.

## CONTEXT

non-atomic

## AUTHOR

**Cornelia Huck** \<cornelia.huck@de.ibm.com\>

Author.

## COPYRIGHT
