Pārlūkot izejas kodu

[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>
Stephen Rothwell 18 gadi atpakaļ
vecāks
revīzija
51d261122d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      include/linux/of_platform.h

+ 1 - 1
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,