]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/topology: Fix spurr attribute permission
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 6 May 2013 05:02:40 +0000 (15:02 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 6 May 2013 05:02:40 +0000 (15:02 +1000)
commit6a58f8e59dcc6ab0314d740e0378ef1b972e5c63
tree9a2953cf6e9abc61ba970a1c78979554bc853dd7
parent133b3481d6e04fd962985456d1471b3b2fbaad22
powerpc/topology: Fix spurr attribute permission

We are registering the attribute with permission 0600 but it
doesn't have a store callback, which causes WARN_ON's during
boot. Fix the permission.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/sysfs.c