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>
lede-17.01
Mathias Kresin 2016-11-18 21:10:40 +01:00
parent 7738227321
commit 369317ce48
2 changed files with 2 additions and 2 deletions

View File

@ -1829,7 +1829,7 @@ static void __exit rtl8367_module_exit(void)
} }
module_exit(rtl8367_module_exit); 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_AUTHOR("Gabor Juhos <juhosg@openwrt.org>");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
MODULE_ALIAS("platform:" RTL8367_DRIVER_NAME); MODULE_ALIAS("platform:" RTL8367_DRIVER_NAME);

View File

@ -1595,7 +1595,7 @@ static struct platform_driver rtl8367b_driver = {
module_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_AUTHOR("Gabor Juhos <juhosg@openwrt.org>");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
MODULE_ALIAS("platform:" RTL8367B_DRIVER_NAME); MODULE_ALIAS("platform:" RTL8367B_DRIVER_NAME);