Skip to content

Commit

Permalink
powerpc/mpc5121: correct DIU compatible property
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Anatolij Gustschin authored and Grant Likely committed Feb 17, 2010
1 parent 85cd746 commit d24720a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/boot/dts/mpc5121ads.dts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@
};

display@2100 {
compatible = "fsl,mpc5121-diu", "fsl,diu";
compatible = "fsl,mpc5121-diu";
reg = <0x2100 0x100>;
interrupts = <64 0x8>;
interrupt-parent = < &ipic >;
Expand Down
5 changes: 5 additions & 0 deletions drivers/video/fsl-diu-fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
Expand Down

0 comments on commit d24720a

Please sign in to comment.