/* match_parisc_device - Matches a parisc device against a given hardware path entry. @dev: the generic device (known to be contained by a parisc_device). @index: the current BC index @modpath: the hardware path.  */
static int match_parisc_device(struct device *dev, int index, struct hardware_path *modpath)
/* match_parisc_device - Matches a parisc device against a given hardware path entry. @dev: the generic device (known to be contained by a parisc_device). @index: the current BC index @modpath: the hardware path.  */
static int match_parisc_device(struct device *dev, int index, struct hardware_path *modpath)
{
	struct parisc_device *curr = to_parisc_device(dev);
	char id = (index == 6) ? modpath->mod : modpath->bc[index];
	return (curr->hw_path == id);
}