]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/x86/kernel/cpu/mcheck/therm_throt.c
sysdev: Pass the attribute to the low level sysdev show/store function
[karo-tx-linux.git] / arch / x86 / kernel / cpu / mcheck / therm_throt.c
index 1f4cc48c14c633be4e0a1ca62b1502616337b048..d5ae2243f0b959bf26839c476850faec8a6a4476 100644 (file)
@@ -35,6 +35,7 @@ atomic_t therm_throt_en = ATOMIC_INIT(0);
 
 #define define_therm_throt_sysdev_show_func(name)                            \
 static ssize_t therm_throt_sysdev_show_##name(struct sys_device *dev,        \
+                                       struct sysdev_attribute *attr,       \
                                               char *buf)                     \
 {                                                                            \
        unsigned int cpu = dev->id;                                          \