X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fbase%2Fmemory.c;h=5260e9e0df48a3f9b52221f179e72fac01b45f6a;hb=b19b3c74c7bbec45a848631b8f970ac110665a01;hp=af0d175c025dcd168c5a6de866351fd0b1f83d5a;hpb=a14ad05f47b55ea84136eb4da43ea96fa469326a;p=mv-sheeva.git diff --git a/drivers/base/memory.c b/drivers/base/memory.c index af0d175c025..5260e9e0df4 100644 --- a/drivers/base/memory.c +++ b/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) {