rtc: mxc_v2: add missing MODULE_DEVICE_TABLE
authorBixuan Cui <cuibixuan@huawei.com>
Sat, 8 May 2021 03:15:09 +0000 (11:15 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jul 2021 12:36:12 +0000 (14:36 +0200)
commit27582c9fa2946e63f292ab94d157681647f979c0
treec6d092b5000555cd5cbcf59528b8a5fb1038c30b
parent6f5891a560dff4b3695a8533c02eeedd39b3ccb9
rtc: mxc_v2: add missing MODULE_DEVICE_TABLE

[ Upstream commit 206e04ec7539e7bfdde9aa79a7cde656c9eb308e ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/rtc/rtc-mxc_v2.c