|
@@ -157,6 +157,7 @@ out2:
|
|
|
out1:
|
|
out1:
|
|
|
return ERR_PTR(ret);
|
|
return ERR_PTR(ret);
|
|
|
}
|
|
}
|
|
|
|
|
+EXPORT_SYMBOL_GPL(soc_device_register);
|
|
|
|
|
|
|
|
/* Ensure soc_dev->attr is freed prior to calling soc_device_unregister. */
|
|
/* Ensure soc_dev->attr is freed prior to calling soc_device_unregister. */
|
|
|
void soc_device_unregister(struct soc_device *soc_dev)
|
|
void soc_device_unregister(struct soc_device *soc_dev)
|
|
@@ -166,6 +167,7 @@ void soc_device_unregister(struct soc_device *soc_dev)
|
|
|
device_unregister(&soc_dev->dev);
|
|
device_unregister(&soc_dev->dev);
|
|
|
early_soc_dev_attr = NULL;
|
|
early_soc_dev_attr = NULL;
|
|
|
}
|
|
}
|
|
|
|
|
+EXPORT_SYMBOL_GPL(soc_device_unregister);
|
|
|
|
|
|
|
|
static int __init soc_bus_register(void)
|
|
static int __init soc_bus_register(void)
|
|
|
{
|
|
{
|