X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=compat.h;h=4ea3a997928f9fb3c34b3a341a07e242ffff07dd;hb=8d3a8abc1c94c552827b86e04d4f18fe49a9b968;hp=691d73057869c10560dbae4a8e9b80f310415b7c;hpb=f122d853bde9c7a3d27844fdb202d03118c22dfa;p=groeck-nct6775 diff --git a/compat.h b/compat.h index 691d730..4ea3a99 100644 --- a/compat.h +++ b/compat.h @@ -230,4 +230,8 @@ module_exit(__driver##_exit); #define pr_warn_ratelimited pr_warning_ratelimited #endif +#ifndef sysfs_attr_init +#define sysfs_attr_init(attr) do {} while (0) +#endif + #endif /* __COMPAT_H */