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

struct device * dev

the standard device structure to match against

struct device_driver * 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.