if (!fsi_drv->id_table)
return -EINVAL;
+ fsi_drv->drv.bus = &fsi_bus_type;
+
return driver_register(&fsi_drv->drv);
}
EXPORT_SYMBOL_GPL(fsi_driver_register);
.id_table = hub_master_ids,
.drv = {
.name = "fsi-master-hub",
- .bus = &fsi_bus_type,
.probe = hub_master_probe,
.remove = hub_master_remove,
}
.id_table = sbefifo_ids,
.drv = {
.name = DEVICE_NAME,
- .bus = &fsi_bus_type,
.probe = sbefifo_probe,
.remove = sbefifo_remove,
}
.id_table = scom_ids,
.drv = {
.name = "scom",
- .bus = &fsi_bus_type,
.of_match_table = scom_of_ids,
.probe = scom_probe,
.remove = scom_remove,
.id_table = i2cr_scom_ids,
.drv = {
.name = "i2cr_scom",
- .bus = &fsi_bus_type,
.of_match_table = i2cr_scom_of_ids,
.probe = i2cr_scom_probe,
.remove = i2cr_scom_remove,