hwpath_to_device
extern struct device *hwpath_to_device(struct hardware_path *modpath);
EXPORT_SYMBOL(hwpath_to_device);
entry->dev = hwpath_to_device((struct hardware_path *)devpath);
if (!(dev = hwpath_to_device((struct hardware_path *)&hwpath))) {