diff --git a/[refs] b/[refs] index 3846f76a1056..551d77a56294 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1125b4e3949949b44a7c80b619507c6f61d62911 +refs/heads/master: 9f1b16a51ea7180eca8a0d76a6bd587385a30757 diff --git a/trunk/drivers/base/memory.c b/trunk/drivers/base/memory.c index af0d175c025d..5260e9e0df48 100644 --- a/trunk/drivers/base/memory.c +++ b/trunk/drivers/base/memory.c @@ -21,6 +21,8 @@ #include #include #include +#include + #include #include @@ -325,7 +327,7 @@ memory_probe_store(struct class *class, const char *buf, size_t count) return count; } -static CLASS_ATTR(probe, 0700, NULL, memory_probe_store); +static CLASS_ATTR(probe, S_IWUSR, NULL, memory_probe_store); static int memory_probe_init(void) {