rtc: mt7622: fix module autoloading for OF platform drivers
authorSean Wang <sean.wang@mediatek.com>
Mon, 26 Mar 2018 10:05:52 +0000 (18:05 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 3 Apr 2018 14:40:48 +0000 (16:40 +0200)
commit3fc990a5dbfff26fe2ef1286d9268d55a3136206
tree0305e750af1ee28a90ea7e4c9edcdd2e22221957
parentc1f5f0549d62c534d3d102b87c856a8907862d8f
rtc: mt7622: fix module autoloading for OF platform drivers

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@mediatek.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-mt7622.c