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

# rio\_dev\_get(9)

Increments the reference count of the RIO device structure

## NAME

rio\_dev\_get - Increments the reference count of the RIO device structure

## SYNOPSIS

**struct rio\_dev \* rio\_dev\_get(struct rio\_dev \*** *rdev***);**

## ARGUMENTS

*rdev*

RIO device being referenced

## DESCRIPTION

Each live reference to a device should be refcounted.

Drivers for RIO devices should normally record such references in their **probe** methods, when they bind to a device, and release them by calling **rio\_dev\_put**, in their **disconnect** methods.

## AUTHOR

**Matt Porter** \<mporter@kernel.crashing.org\>, \<mporter@mvista.com\>

Author.

## COPYRIGHT
