aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-11-18 21:10:40 +0100
committerMathias Kresin <dev@kresin.me>2016-11-19 17:57:04 +0100
commit369317ce4873e3831cfed6aaf244025f41b569fc (patch)
tree3faf0e13bc6cc0f63bdacc196d448d2936b88676 /target/linux/generic/files/drivers
parent77382273211022eb6546dbbdcf4a4b4dd9d40e7f (diff)
downloadupstream-369317ce4873e3831cfed6aaf244025f41b569fc.tar.gz
upstream-369317ce4873e3831cfed6aaf244025f41b569fc.tar.bz2
upstream-369317ce4873e3831cfed6aaf244025f41b569fc.zip
kernel: rtl8367(b): fix build error
Fix build on targets not using CONFIG_MODULE_STRIPPED. Neither RTL8367_DRIVER_DESC nor RTL8367B_DRIVER_DESC are defined anywhere. It worked for targets using CONFIG_MODULE_STRIPPED since our module stripper no-ops the various module info macros. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/generic/files/drivers')
-rw-r--r--target/linux/generic/files/drivers/net/phy/rtl8367.c2
-rw-r--r--target/linux/generic/files/drivers/net/phy/rtl8367b.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/rtl8367.c b/target/linux/generic/files/drivers/net/phy/rtl8367.c
index 4978a8cb7a..97cd1acfb5 100644
--- a/target/linux/generic/files/drivers/net/phy/rtl8367.c
+++ b/target/linux/generic/files/drivers/net/phy/rtl8367.c
@@ -1829,7 +1829,7 @@ static void __exit rtl8367_module_exit(void)
}
module_exit(rtl8367_module_exit);
-MODULE_DESCRIPTION(RTL8367_DRIVER_DESC);
+MODULE_DESCRIPTION("Realtek RTL8367 ethernet switch driver");
MODULE_AUTHOR("Gabor Juhos <juhosg@openwrt.org>");
MODULE_LICENSE("GPL v2");
MODULE_ALIAS("platform:" RTL8367_DRIVER_NAME);
diff --git a/target/linux/generic/files/drivers/net/phy/rtl8367b.c b/target/linux/generic/files/drivers/net/phy/rtl8367b.c
index a82f696d7f..a73e35ed2d 100644
--- a/target/linux/generic/files/drivers/net/phy/rtl8367b.c
+++ b/target/linux/generic/files/drivers/net/phy/rtl8367b.c
@@ -1595,7 +1595,7 @@ static struct platform_driver rtl8367b_driver = {
module_platform_driver(rtl8367b_driver);
-MODULE_DESCRIPTION(RTL8367B_DRIVER_DESC);
+MODULE_DESCRIPTION("Realtek RTL8367B ethernet switch driver");
MODULE_AUTHOR("Gabor Juhos <juhosg@openwrt.org>");
MODULE_LICENSE("GPL v2");
MODULE_ALIAS("platform:" RTL8367B_DRIVER_NAME);