mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 23:27:06 +00:00
bus: fsl-mc: add fsl_mc_allocator cleanup function
The userspace support for fsl-mc requires a fsl_mc_allocator cleanup function. Add the needed function. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5b04cedeca
commit
1e8ac83b6c
2 changed files with 7 additions and 0 deletions
|
@ -646,3 +646,8 @@ int __init fsl_mc_allocator_driver_init(void)
|
||||||
{
|
{
|
||||||
return fsl_mc_driver_register(&fsl_mc_allocator_driver);
|
return fsl_mc_driver_register(&fsl_mc_allocator_driver);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void fsl_mc_allocator_driver_exit(void)
|
||||||
|
{
|
||||||
|
fsl_mc_driver_unregister(&fsl_mc_allocator_driver);
|
||||||
|
}
|
||||||
|
|
|
@ -525,6 +525,8 @@ void dprc_driver_exit(void);
|
||||||
|
|
||||||
int __init fsl_mc_allocator_driver_init(void);
|
int __init fsl_mc_allocator_driver_init(void);
|
||||||
|
|
||||||
|
void fsl_mc_allocator_driver_exit(void);
|
||||||
|
|
||||||
void fsl_mc_init_all_resource_pools(struct fsl_mc_device *mc_bus_dev);
|
void fsl_mc_init_all_resource_pools(struct fsl_mc_device *mc_bus_dev);
|
||||||
|
|
||||||
void fsl_mc_cleanup_all_resource_pools(struct fsl_mc_device *mc_bus_dev);
|
void fsl_mc_cleanup_all_resource_pools(struct fsl_mc_device *mc_bus_dev);
|
||||||
|
|
Loading…
Reference in a new issue