---
name: "rio_match_device"
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_match_device"
---

# rio\_match\_device(9)

Tell if a RIO device has a matching RIO device id structure

## NAME

rio\_match\_device - Tell if a RIO device has a matching RIO device id structure

## SYNOPSIS

**const struct rio\_device\_id \* rio\_match\_device(const struct rio\_device\_id \*** *id***, const struct rio\_dev \*** *rdev***);**

## ARGUMENTS

*id*

the RIO device id structure to match against

*rdev*

the RIO device structure to match against

## DESCRIPTION

Used from driver probe and bus matching to check whether a RIO device matches a device id structure provided by a RIO driver. Returns the matching struct rio\_device\_id or **NULL** if there is no match.

## AUTHOR

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

Author.

## COPYRIGHT
