projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sysdev: Pass the attribute to the low level sysdev show/store function
[GitHub/LineageOS/android_kernel_samsung_universal7580.git]
/
arch
/
powerpc
/
platforms
/
cell
/
spu_base.c
diff --git
a/arch/powerpc/platforms/cell/spu_base.c
b/arch/powerpc/platforms/cell/spu_base.c
index 78f905bc6a42dd7774edca80287a58bd921c01dd..a5bdb89a17c3bf4b40894a0e7025877579398a06 100644
(file)
--- a/
arch/powerpc/platforms/cell/spu_base.c
+++ b/
arch/powerpc/platforms/cell/spu_base.c
@@
-703,7
+703,8
@@
static unsigned long long spu_acct_time(struct spu *spu,
}
-static ssize_t spu_stat_show(struct sys_device *sysdev, char *buf)
+static ssize_t spu_stat_show(struct sys_device *sysdev,
+ struct sysdev_attribute *attr, char *buf)
{
struct spu *spu = container_of(sysdev, struct spu, sysdev);