]> git.baikalelectronics.ru Git - kernel.git/commit
staging: fsl-mc: Refactored fsl_mc_object_allocator driver init/exit
authorJ. German Rivera <German.Rivera@freescale.com>
Fri, 27 Mar 2015 21:01:08 +0000 (16:01 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 11:55:03 +0000 (13:55 +0200)
commit7d3ee6715f2d2bbcc3c55f02aa969c9ea1f3d45a
treeca36e2aa6b499bb6dea20452f87d6263a800d23f
parent5185866714ca64bc70a162bbe1f39afaacf59f8a
staging: fsl-mc: Refactored fsl_mc_object_allocator driver init/exit

 The fsl_mc_allocator driver does not need to be its own module
 as it is tightly integrated into the MC bus main driver. It is really
 just a sub-component of the MC bus driver. By not making fsl_mc_allocator
 its own module, we can have more control of when its initialization happens
 and we want it to happen before any driver that depends on the MC bus
 driver gets initialized.

Signed-off-by: J. German Rivera <German.Rivera@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/Makefile
drivers/staging/fsl-mc/bus/mc-allocator.c
drivers/staging/fsl-mc/bus/mc-bus.c
drivers/staging/fsl-mc/include/mc-private.h