diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-12-20 23:21:51 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-21 06:14:07 -0500 |
commit | b91bdd15174ca7104905d74aaf89a6815c3f9d8c (patch) | |
tree | 70ee916903313ff1f412276bd52046d53eae8cb9 /include | |
parent | 92d1616ec0302266dd753a6c2fc5b2f6e7d36a72 (diff) |
[POWERPC] Constify the of_device_id passed to of_platform_bus_probe
This will allow us to declare const all the statically declared arrrays
of these.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/of_platform.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-powerpc/of_platform.h b/include/asm-powerpc/of_platform.h index d20a4cd08fa1..1bce5efe1de0 100644 --- a/include/asm-powerpc/of_platform.h +++ b/include/asm-powerpc/of_platform.h | |||
@@ -32,7 +32,7 @@ extern struct of_device *of_platform_device_create(struct device_node *np, | |||
32 | #define OF_NO_DEEP_PROBE ((struct of_device_id *)-1) | 32 | #define OF_NO_DEEP_PROBE ((struct of_device_id *)-1) |
33 | 33 | ||
34 | extern int of_platform_bus_probe(struct device_node *root, | 34 | extern int of_platform_bus_probe(struct device_node *root, |
35 | struct of_device_id *matches, | 35 | const struct of_device_id *matches, |
36 | struct device *parent); | 36 | struct device *parent); |
37 | 37 | ||
38 | extern struct of_device *of_find_device_by_phandle(phandle ph); | 38 | extern struct of_device *of_find_device_by_phandle(phandle ph); |