X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=drivers%2Fparisc%2Fled.c;h=cf91cb024be304307485a567177826ded6022fd3;hb=6b6dc4f40c5264556223ba94693f20d83796ab1f;hp=36c6613f7a36b7869f0dce1945700abb6b06ee61;hpb=2644bc8569baa735ae9c0a92432d6a30c20c1694;p=linux-2.6-microblaze.git diff --git a/drivers/parisc/led.c b/drivers/parisc/led.c index 36c6613f7a36..cf91cb024be3 100644 --- a/drivers/parisc/led.c +++ b/drivers/parisc/led.c @@ -250,14 +250,14 @@ static int __init led_create_procfs(void) if (!lcd_no_led_support) { - ent = proc_create_data("led", S_IRUGO|S_IWUSR, proc_pdc_root, + ent = proc_create_data("led", 0644, proc_pdc_root, &led_proc_ops, (void *)LED_NOLCD); /* LED */ if (!ent) return -1; } if (led_type == LED_HASLCD) { - ent = proc_create_data("lcd", S_IRUGO|S_IWUSR, proc_pdc_root, + ent = proc_create_data("lcd", 0644, proc_pdc_root, &led_proc_ops, (void *)LED_HASLCD); /* LCD */ if (!ent) return -1; }