diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-05-31 00:14:26 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-05-31 00:14:26 -0400 |
commit | d5b732b17ca2fc74f370bdba5aae6c804fac8c35 (patch) | |
tree | 4facc6d96116b032a3c1cb2ced9b2a3008e9216e /drivers/video/platinumfb.c | |
parent | eb6e8605ee5f5b4e116451bf01b3f35eac446dde (diff) | |
parent | 67a3e12b05e055c0415c556a315a3d3eb637e29e (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'drivers/video/platinumfb.c')
-rw-r--r-- | drivers/video/platinumfb.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/video/platinumfb.c b/drivers/video/platinumfb.c index 8a204e7a5b5b..72a1f4c04732 100644 --- a/drivers/video/platinumfb.c +++ b/drivers/video/platinumfb.c | |||
@@ -536,7 +536,7 @@ static int __init platinumfb_setup(char *options) | |||
536 | static int __devinit platinumfb_probe(struct of_device* odev, | 536 | static int __devinit platinumfb_probe(struct of_device* odev, |
537 | const struct of_device_id *match) | 537 | const struct of_device_id *match) |
538 | { | 538 | { |
539 | struct device_node *dp = odev->node; | 539 | struct device_node *dp = odev->dev.of_node; |
540 | struct fb_info *info; | 540 | struct fb_info *info; |
541 | struct fb_info_platinum *pinfo; | 541 | struct fb_info_platinum *pinfo; |
542 | volatile __u8 *fbuffer; | 542 | volatile __u8 *fbuffer; |
@@ -679,8 +679,11 @@ static struct of_device_id platinumfb_match[] = | |||
679 | 679 | ||
680 | static struct of_platform_driver platinum_driver = | 680 | static struct of_platform_driver platinum_driver = |
681 | { | 681 | { |
682 | .name = "platinumfb", | 682 | .driver = { |
683 | .match_table = platinumfb_match, | 683 | .name = "platinumfb", |
684 | .owner = THIS_MODULE, | ||
685 | .of_match_table = platinumfb_match, | ||
686 | }, | ||
684 | .probe = platinumfb_probe, | 687 | .probe = platinumfb_probe, |
685 | .remove = platinumfb_remove, | 688 | .remove = platinumfb_remove, |
686 | }; | 689 | }; |