[PATCH] rtc: mt7622: fix module autoloading for OF platform drivers

Alexandre Belloni alexandre.belloni at free-electrons.com
Tue Apr 3 07:57:41 PDT 2018


On 26/03/2018 18:05:52+0800, sean.wang at mediatek.com wrote:
> From: Sean Wang <sean.wang at mediatek.com>
> 
> It's required to create a modules.alias via MODULE_DEVICE_TABLE helper
> for the OF platform driver. Otherwise, module autoloading cannot work.
> 
> Signed-off-by: Sean Wang <sean.wang at mediatek.com>
> ---
>  drivers/rtc/rtc-mt7622.c | 1 +
>  1 file changed, 1 insertion(+)
> 
Applied, thanks.

-- 
Alexandre Belloni, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the Linux-mediatek mailing list