powerpc/mpc5121: correct DIU compatible property
authorAnatolij Gustschin <agust@denx.de>
Wed, 17 Feb 2010 14:33:22 +0000 (07:33 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 17 Feb 2010 14:33:22 +0000 (07:33 -0700)
The DIU driver should bind against "fsl,mpc5121-diu"
directly. Add this compatible property to the match
table and fix DTS and platform code accordingly.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/powerpc/boot/dts/mpc5121ads.dts
drivers/video/fsl-diu-fb.c

index d2b2db7..c9ef6bb 100644 (file)
                };
 
                display@2100 {
-                       compatible = "fsl,mpc5121-diu", "fsl,diu";
+                       compatible = "fsl,mpc5121-diu";
                        reg = <0x2100 0x100>;
                        interrupts = <64 0x8>;
                        interrupt-parent = < &ipic >;
index 72d68b3..4637bcb 100644 (file)
@@ -1633,6 +1633,11 @@ static int __init fsl_diu_setup(char *options)
 #endif
 
 static struct of_device_id fsl_diu_match[] = {
+#ifdef CONFIG_PPC_MPC512x
+       {
+               .compatible = "fsl,mpc5121-diu",
+       },
+#endif
        {
                .compatible = "fsl,diu",
        },