fsi: Add missing MODULE_DEVICE_TABLE
[ Upstream commit 19a52178125c1e8b84444d85f2ce34c0964b4a91 ] 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: Zou Wei <zou_wei@huawei.com> Link: https://lore.kernel.org/r/1620896249-52769-1-git-send-email-zou_wei@huawei.com Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
0c67c2e203
commit
dc9db46292
|
@ -645,6 +645,7 @@ static const struct of_device_id fsi_master_aspeed_match[] = {
|
|||
{ .compatible = "aspeed,ast2600-fsi-master" },
|
||||
{ },
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, fsi_master_aspeed_match);
|
||||
|
||||
static struct platform_driver fsi_master_aspeed_driver = {
|
||||
.driver = {
|
||||
|
|
|
@ -1427,6 +1427,7 @@ static const struct of_device_id fsi_master_acf_match[] = {
|
|||
{ .compatible = "aspeed,ast2500-cf-fsi-master" },
|
||||
{ },
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, fsi_master_acf_match);
|
||||
|
||||
static struct platform_driver fsi_master_acf = {
|
||||
.driver = {
|
||||
|
|
|
@ -882,6 +882,7 @@ static const struct of_device_id fsi_master_gpio_match[] = {
|
|||
{ .compatible = "fsi-master-gpio" },
|
||||
{ },
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, fsi_master_gpio_match);
|
||||
|
||||
static struct platform_driver fsi_master_gpio_driver = {
|
||||
.driver = {
|
||||
|
|
|
@ -579,6 +579,7 @@ static const struct of_device_id occ_match[] = {
|
|||
{ .compatible = "ibm,p9-occ" },
|
||||
{ },
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, occ_match);
|
||||
|
||||
static struct platform_driver occ_driver = {
|
||||
.driver = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user