|
@@ -220,8 +220,8 @@ static void dprc_add_new_devices(struct fsl_mc_device *mc_bus_dev,
|
|
|
* populated before they can get allocation requests from probe callbacks
|
|
|
* of the device drivers for the non-allocatable devices.
|
|
|
*/
|
|
|
-static int dprc_scan_objects(struct fsl_mc_device *mc_bus_dev,
|
|
|
- unsigned int *total_irq_count)
|
|
|
+int dprc_scan_objects(struct fsl_mc_device *mc_bus_dev,
|
|
|
+ unsigned int *total_irq_count)
|
|
|
{
|
|
|
int num_child_objects;
|
|
|
int dprc_get_obj_failures;
|
|
@@ -309,6 +309,7 @@ static int dprc_scan_objects(struct fsl_mc_device *mc_bus_dev,
|
|
|
|
|
|
return 0;
|
|
|
}
|
|
|
+EXPORT_SYMBOL_GPL(dprc_scan_objects);
|
|
|
|
|
|
/**
|
|
|
* dprc_scan_container - Scans a physical DPRC and synchronizes Linux bus state
|
|
@@ -319,7 +320,7 @@ static int dprc_scan_objects(struct fsl_mc_device *mc_bus_dev,
|
|
|
* bus driver with the actual state of the MC by adding and removing
|
|
|
* devices as appropriate.
|
|
|
*/
|
|
|
-static int dprc_scan_container(struct fsl_mc_device *mc_bus_dev)
|
|
|
+int dprc_scan_container(struct fsl_mc_device *mc_bus_dev)
|
|
|
{
|
|
|
int error;
|
|
|
unsigned int irq_count;
|
|
@@ -355,6 +356,7 @@ error:
|
|
|
fsl_mc_cleanup_all_resource_pools(mc_bus_dev);
|
|
|
return error;
|
|
|
}
|
|
|
+EXPORT_SYMBOL_GPL(dprc_scan_container);
|
|
|
|
|
|
/**
|
|
|
* dprc_irq0_handler - Regular ISR for DPRC interrupt 0
|