OSDN Git Service

rtc: mxc_v2: add missing MODULE_DEVICE_TABLE
authorBixuan Cui <cuibixuan@huawei.com>
Sat, 8 May 2021 03:15:09 +0000 (11:15 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 24 May 2021 22:33:17 +0000 (00:33 +0200)
commit206e04ec7539e7bfdde9aa79a7cde656c9eb308e
treea8ff3d039281144985d219cfdb4118222b24456e
parentf765e349c3e1f2e676ad4bd61197216b26976022
rtc: mxc_v2: add missing MODULE_DEVICE_TABLE

This patch adds missing MODULE_DEVICE_TABLE definition which generates
correct modalias for automatic loading of this driver when it is built
as an external module.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Bixuan Cui <cuibixuan@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210508031509.53735-1-cuibixuan@huawei.com
drivers/rtc/rtc-mxc_v2.c