---
name: "rio_match_bus"
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_bus"
---

# rio\_match\_bus(9)

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

## NAME

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

## SYNOPSIS

**int rio\_match\_bus(struct device \*** *dev***, struct device\_driver \*** *drv***);**

## ARGUMENTS

*dev*

the standard device structure to match against

*drv*

the standard driver structure containing the ids to match against

## DESCRIPTION

Used by a driver to check whether a RIO device present in the system is in its list of supported devices. Returns 1 if there is a matching struct rio\_device\_id or 0 if there is no match.

## AUTHOR

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

Author.

## COPYRIGHT
