diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-09-23 16:44:58 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-23 11:34:43 -0700 |
commit | 13b5aeccc4350e5069c723e8f9becd7208ee02f2 (patch) | |
tree | 84decf7505e98d2e1d7a0935219f8b5e006c04d7 /arch/powerpc/platforms/powermac/feature.c | |
parent | d7b2004528a967f2ba0bf31b1eb0da6a876960e6 (diff) | |
download | linux-stable-13b5aeccc4350e5069c723e8f9becd7208ee02f2.tar.gz linux-stable-13b5aeccc4350e5069c723e8f9becd7208ee02f2.tar.bz2 linux-stable-13b5aeccc4350e5069c723e8f9becd7208ee02f2.zip |
[PATCH] more fallout from get_property returning pointer to const
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/powerpc/platforms/powermac/feature.c')
-rw-r--r-- | arch/powerpc/platforms/powermac/feature.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/powermac/feature.c b/arch/powerpc/platforms/powermac/feature.c index 13fcaf5b1796..e49621be6640 100644 --- a/arch/powerpc/platforms/powermac/feature.c +++ b/arch/powerpc/platforms/powermac/feature.c @@ -1058,8 +1058,8 @@ core99_reset_cpu(struct device_node *node, long param, long value) if (np == NULL) return -ENODEV; for (np = np->child; np != NULL; np = np->sibling) { - u32 *num = get_property(np, "reg", NULL); - u32 *rst = get_property(np, "soft-reset", NULL); + const u32 *num = get_property(np, "reg", NULL); + const u32 *rst = get_property(np, "soft-reset", NULL); if (num == NULL || rst == NULL) continue; if (param == *num) { |