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)
commitd5dae721308ac5d5db03bf3aebaa15fcdcfb4862
tree9a2953cf6e9abc61ba970a1c78979554bc853dd7
parent3fd47f063b17692e843128e2abda3e697df42198
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