]> git.hungrycats.org Git - linux/commitdiff
[PATCH] ppc64: fix rtas flash driver
authorAndrew Morton <akpm@osdl.org>
Tue, 18 May 2004 15:01:52 +0000 (08:01 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 18 May 2004 15:01:52 +0000 (08:01 -0700)
From: Anton Blanchard <anton@samba.org>

From: John Rose <johnrose@austin.ibm.com>

Please apply the following, which fixes a typo that prevents the creation of
the manage_flash /proc file.

arch/ppc64/kernel/rtas_flash.c

index 907540324ccf30a1f2ac6f2fd7f56906c23d2f76..e9d21eb4edd3ac303ae23e919bd3c54f6ac79732 100644 (file)
@@ -692,7 +692,7 @@ int __init rtas_flash_init(void)
        if (rc != 0)
                goto cleanup;
 
-       manage_pde = create_flash_pde("ppc64/rtas" MANAGE_FLASH_NAME,
+       manage_pde = create_flash_pde("ppc64/rtas/" MANAGE_FLASH_NAME,
                                      &manage_flash_operations);
        if (manage_pde == NULL) {
                rc = -ENOMEM;