Re: [PATCH v2] mmc: rtsx: fix possible linking error if built-in

2014-05-08 Thread Ulf Hansson
On 8 May 2014 10:27, Arnd Bergmann wrote: > rtsx_usb_sdmmc module uses the LED classdev if available, but the code > failed to consider the situation that it is built-in and the LED classdev is a > module, leading to following linking error: > >LD init/built-in.o > drivers/built-in.o: In

[PATCH v2] mmc: rtsx: fix possible linking error if built-in

2014-05-08 Thread Arnd Bergmann
rtsx_usb_sdmmc module uses the LED classdev if available, but the code failed to consider the situation that it is built-in and the LED classdev is a module, leading to following linking error: LD init/built-in.o drivers/built-in.o: In function `rtsx_usb_sdmmc_drv_remove': rtsx_usb_sdmmc.c