From 369317ce4873e3831cfed6aaf244025f41b569fc Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Fri, 18 Nov 2016 21:10:40 +0100 Subject: 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 --- target/linux/generic/files/drivers/net/phy/rtl8367.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/generic/files/drivers/net/phy/rtl8367.c') 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 "); MODULE_LICENSE("GPL v2"); MODULE_ALIAS("platform:" RTL8367_DRIVER_NAME); -- cgit v1.2.3