diff options
author | Mark A. Greer <mgreer@mvista.com> | 2008-04-07 18:09:03 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-15 07:21:24 -0400 |
commit | a1810b44c2d52392cd63e17fc208783cf6be6215 (patch) | |
tree | b2484650448a41aaf16664933b928f8c74fc8edd /arch/powerpc/sysdev/mv64x60_pci.c | |
parent | fb9d93de6049922c4d46cc2dc9d2eeec07369e7f (diff) |
[POWERPC] mv64x60: Fix FDT compatible names: mv64x60 => mv64360
Compatible names should refer to a specific version of the hardware,
without wildcards. Change each instance of mv64x60 to mv64360, which
is the oldest version we currently support.
Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/sysdev/mv64x60_pci.c')
-rw-r--r-- | arch/powerpc/sysdev/mv64x60_pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/sysdev/mv64x60_pci.c b/arch/powerpc/sysdev/mv64x60_pci.c index d21ab8fa4993..1456015a22d8 100644 --- a/arch/powerpc/sysdev/mv64x60_pci.c +++ b/arch/powerpc/sysdev/mv64x60_pci.c | |||
@@ -86,14 +86,14 @@ static int __init mv64x60_sysfs_init(void) | |||
86 | struct platform_device *pdev; | 86 | struct platform_device *pdev; |
87 | const unsigned int *prop; | 87 | const unsigned int *prop; |
88 | 88 | ||
89 | np = of_find_compatible_node(NULL, NULL, "marvell,mv64x60"); | 89 | np = of_find_compatible_node(NULL, NULL, "marvell,mv64360"); |
90 | if (!np) | 90 | if (!np) |
91 | return 0; | 91 | return 0; |
92 | 92 | ||
93 | prop = of_get_property(np, "hs_reg_valid", NULL); | 93 | prop = of_get_property(np, "hs_reg_valid", NULL); |
94 | of_node_put(np); | 94 | of_node_put(np); |
95 | 95 | ||
96 | pdev = platform_device_register_simple("marvell,mv64x60", 0, NULL, 0); | 96 | pdev = platform_device_register_simple("marvell,mv64360", 0, NULL, 0); |
97 | if (IS_ERR(pdev)) | 97 | if (IS_ERR(pdev)) |
98 | return PTR_ERR(pdev); | 98 | return PTR_ERR(pdev); |
99 | 99 | ||
@@ -166,6 +166,6 @@ void __init mv64x60_pci_init(void) | |||
166 | { | 166 | { |
167 | struct device_node *np; | 167 | struct device_node *np; |
168 | 168 | ||
169 | for_each_compatible_node(np, "pci", "marvell,mv64x60-pci") | 169 | for_each_compatible_node(np, "pci", "marvell,mv64360-pci") |
170 | mv64x60_add_bridge(np); | 170 | mv64x60_add_bridge(np); |
171 | } | 171 | } |