mfd: ocelot-spi: Add missing MODULE_DEVICE_TABLE
authorYang Yingliang <yangyingliang@huawei.com>
Thu, 22 Sep 2022 10:37:03 +0000 (18:37 +0800)
committerLee Jones <lee@kernel.org>
Wed, 28 Sep 2022 15:17:42 +0000 (16:17 +0100)
commit02010cf0093629b9eeadade1f2684d85eaa3390f
treeedd2eaac9ec5b3ac26d2d84394b5d14231ebd451
parent11cb8da0189b417392e2334ae967b0ba1f0d1be8
mfd: ocelot-spi: 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.

Fixes: f3e893626abe ("mfd: ocelot: Add support for the vsc7512 chip via spi")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20220922103703.1731266-1-yangyingliang@huawei.com
drivers/mfd/ocelot-spi.c