summaryrefslogtreecommitdiffstats
path: root/include/linux/of_platform.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-07-22 00:27:01 +1000
committerPaul Mackerras <paulus@samba.org>2007-07-22 21:30:59 +1000
commit51d261122d0ffac8cf91cc6e74ffcfea23faeb1c (patch)
treec771072646ae12ab570abce4548570f4573d424b /include/linux/of_platform.h
parentb1c30115f4861c9dd2dcaaac2a01acc67dd4cf94 (diff)
downloadlinux-51d261122d0ffac8cf91cc6e74ffcfea23faeb1c.tar.gz
linux-51d261122d0ffac8cf91cc6e74ffcfea23faeb1c.tar.bz2
linux-51d261122d0ffac8cf91cc6e74ffcfea23faeb1c.zip
[POWERPC] Constify of_platform_driver match_table
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/linux/of_platform.h')
-rw-r--r--include/linux/of_platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/of_platform.h b/include/linux/of_platform.h
index 22c3837784b2..448f70b30a0c 100644
--- a/include/linux/of_platform.h
+++ b/include/linux/of_platform.h
@@ -32,7 +32,7 @@ extern struct bus_type of_platform_bus_type;
struct of_platform_driver
{
const char *name;
- struct of_device_id *match_table;
+ const struct of_device_id *match_table;
struct module *owner;
int (*probe)(struct of_device* dev,