mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
f2f42a54e8
The qca8k patch series brings the numbering to 799. This patch renames 7xx patches to create space for more backports to be added. Signed-off-by: Matthew Hagan <mnhagan88@gmail.com> [rename 729->719] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
28 lines
967 B
Diff
28 lines
967 B
Diff
From 866f1577ba69bde2b9f36c300f603596c7d84a62 Mon Sep 17 00:00:00 2001
|
|
From: Qinglang Miao <miaoqinglang@huawei.com>
|
|
Date: Thu, 25 Mar 2021 17:19:54 +0800
|
|
Subject: [PATCH] net: dsa: b53: 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.
|
|
|
|
Reported-by: Hulk Robot <hulkci@huawei.com>
|
|
Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
|
|
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
|
|
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
---
|
|
drivers/net/dsa/b53/b53_spi.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/drivers/net/dsa/b53/b53_spi.c
|
|
+++ b/drivers/net/dsa/b53/b53_spi.c
|
|
@@ -335,6 +335,7 @@ static const struct of_device_id b53_spi
|
|
{ .compatible = "brcm,bcm53128" },
|
|
{ /* sentinel */ }
|
|
};
|
|
+MODULE_DEVICE_TABLE(of, b53_spi_of_match);
|
|
|
|
static struct spi_driver b53_spi_driver = {
|
|
.driver = {
|