1. NAME

get_ccwdev_by_dev_id - obtain device from a ccw device id

2. SYNOPSIS

struct ccw_device * get_ccwdev_by_dev_id(struct ccw_dev_id *  dev_id );

3. ARGUMENTS

dev_id
    id of the device to be searched

4. DESCRIPTION

This function searches all devices attached to the ccw bus for a device matching dev_id.

5. RETURNS

If a device is found its reference count is increased and returned; else NULL is returned.

6. AUTHOR

Cornelia Huck <>
    Author.

7. COPYRIGHT