ccwgroup_create_dev(9)

ccwgroup_create_dev9

Create and register a ccw group device

Usage

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

Overview

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

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

Author

Cornelia Huck <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.