From 5b0193394b739da8ee9f7a4dec98d708b4039daf Mon Sep 17 00:00:00 2001 From: Dmitry Fedchenko Date: Sun, 12 Jul 2020 20:55:56 +0300 Subject: [PATCH] Fixed 'Section mismatch in reference' warnings in GCC 10 --- system76.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system76.c b/system76.c index 9563513..ec076ac 100644 --- a/system76.c +++ b/system76.c @@ -170,7 +170,7 @@ static void s76_wmi_notify(u32 value, void *context) { } } -static int s76_probe(struct platform_device *dev) { +static int __init s76_probe(struct platform_device *dev) { int err; if (driver_flags & DRIVER_AP_LED) {