On 16 May 2012 04:46, Tushar Behera <tushar.behera@linaro.org> wrote:
On 05/14/2012 10:31 PM, Sangwook Lee wrote:
> This patch makes MMC stack loaded ahead of net device.
> when kernel boots up. Origen WLAN stack assume that MMC stack
> is loaded beforehand. Simply change linking order as compiling.
>
> Signed-off-by: Sangwook Lee <sangwook.lee@linaro.org>
> ---
>  drivers/Makefile |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/Makefile b/drivers/Makefile
> index b5d2823..75736a1 100644
> --- a/drivers/Makefile
> +++ b/drivers/Makefile
> @@ -54,6 +54,7 @@ obj-$(CONFIG_TARGET_CORE)   += target/
>  obj-$(CONFIG_MTD)            += mtd/
>  obj-$(CONFIG_SPI)            += spi/
>  obj-y                                += hsi/
> +obj-y                                += mmc/
>  obj-y                                += net/
>  obj-$(CONFIG_ATM)            += atm/
>  obj-$(CONFIG_FUSION)         += message/
> @@ -97,7 +98,6 @@ obj-$(CONFIG_EISA)          += eisa/
>  obj-y                                += lguest/
>  obj-$(CONFIG_CPU_FREQ)               += cpufreq/
>  obj-$(CONFIG_CPU_IDLE)               += cpuidle/
> -obj-y                                += mmc/
>  obj-$(CONFIG_MEMSTICK)               += memstick/
>  obj-y                                += leds/
>  obj-$(CONFIG_SWITCH)         += switch/

This change is not ok when we try to merge our kernel with unified tree,
though I might just push apply it to Samsung LT kernel now. We need to
fix this up and get a better solution.

Fair enough.

Initially I tried to do another way: For example completion for synchronisation, But because this happens, it was in vain.
Now that we are running out of 05 release, we have a temporary solution. and then later fix it again.

 
 

--
Tushar Behera