[PATCH] constify of_platform_driver match_table

Subsystems: open firmware and flattened device tree, the rest

STALE6952d

2 messages, 2 authors, 2007-07-22 · open the first message on its own page

[PATCH] constify of_platform_driver match_table

From: Stephen Rothwell <hidden>
Date: 2007-07-21 14:27:00

Signed-off-by: Stephen Rothwell <redacted>
---
 include/linux/of_platform.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Built for PowerPC allmodconfig and ppc64_defconfig and Sparc and Sparc64
defconfig.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
diff --git a/include/linux/of_platform.h b/include/linux/of_platform.h
index 22c3837..448f70b 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,
-- 
1.5.2.3

Re: [PATCH] constify of_platform_driver match_table

From: David Miller <davem@davemloft.net>
Date: 2007-07-22 02:10:57

From: Stephen Rothwell <redacted>
Date: Sun, 22 Jul 2007 00:27:01 +1000
Signed-off-by: Stephen Rothwell <redacted>
---
 include/linux/of_platform.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Built for PowerPC allmodconfig and ppc64_defconfig and Sparc and Sparc64
defconfig.
Acked-by: David S. Miller <davem@davemloft.net>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help