drm/amd/display: Fix memory leaks in S3 resume
[linux-2.6-microblaze.git] / drivers / thermal / thermal_core.h
index 764c2de..681209d 100644 (file)
@@ -34,7 +34,7 @@ extern struct thermal_governor *__governor_thermal_table_end[];
 
 #define THERMAL_TABLE_ENTRY(table, name)                       \
        static typeof(name) *__thermal_table_entry_##name       \
-       __used __section(__##table##_thermal_table) = &name
+       __used __section("__" #table "_thermal_table") = &name
 
 #define THERMAL_GOVERNOR_DECLARE(name) THERMAL_TABLE_ENTRY(governor, name)