diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-01-24 22:16:20 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-01-28 23:21:18 +0100 |
commit | 3ff6eecca4e5c49a5d1dd8b58ea0e20102ce08f0 (patch) | |
tree | 9af53a5ce0054520be6d572f988a76f3ab4ef0c0 /arch/powerpc/kernel/sysfs.c | |
parent | bc395add945659e04cc7cf250755ba0edc1a9fdc (diff) | |
download | op-kernel-dev-3ff6eecca4e5c49a5d1dd8b58ea0e20102ce08f0.zip op-kernel-dev-3ff6eecca4e5c49a5d1dd8b58ea0e20102ce08f0.tar.gz |
remove __attribute_used__
Remove the deprecated __attribute_used__.
[Introduce __section in a few places to silence checkpatch /sam]
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/powerpc/kernel/sysfs.c')
-rw-r--r-- | arch/powerpc/kernel/sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/sysfs.c b/arch/powerpc/kernel/sysfs.c index 25d9a96..c8127f8 100644 --- a/arch/powerpc/kernel/sysfs.c +++ b/arch/powerpc/kernel/sysfs.c @@ -158,7 +158,7 @@ static ssize_t show_##NAME(struct sys_device *dev, char *buf) \ unsigned long val = run_on_cpu(cpu->sysdev.id, read_##NAME, 0); \ return sprintf(buf, "%lx\n", val); \ } \ -static ssize_t __attribute_used__ \ +static ssize_t __used \ store_##NAME(struct sys_device *dev, const char *buf, size_t count) \ { \ struct cpu *cpu = container_of(dev, struct cpu, sysdev); \ |