mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
proc: Use PDE attribute setting accessor functions
arch/arm/mach-msm/last_radio_log.c: In function 'msm_init_last_radio_log':
arch/arm/mach-msm/last_radio_log.c:69:7: error: dereferencing pointer to incomplete type
arch/cris/kernel/profile.c: In function 'init_cris_profile':
arch/cris/kernel/profile.c:79:8: error: dereferencing pointer to incomplete type
Use proc_set_size(), cfr. commit 271a15eabe
("proc: Supply PDE attribute setting accessor functions")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
4385bab128
commit
254844d3b9
2 changed files with 2 additions and 2 deletions
|
|
@ -76,7 +76,7 @@ static int __init init_cris_profile(void)
|
|||
entry = proc_create("system_profile", S_IWUSR | S_IRUGO, NULL,
|
||||
&cris_proc_profile_operations);
|
||||
if (entry) {
|
||||
entry->size = SAMPLE_BUFFER_SIZE;
|
||||
proc_set_size(entry, SAMPLE_BUFFER_SIZE);
|
||||
}
|
||||
prof_running = 1;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue