Re: [PATCH 2/6] pxa: frame buffer support both pxa168 and pxa910

From
Jun Nie <hidden>
Date
2009-11-03 07:29:16
Also in
linux-arm-kernel
Reply to
Jun Nie, 2009-11-03
2009/11/3 Jun Nie [off-list ref]:
quoted hunk ↗ jump to hunk
pxa: frame buffer support both pxa168 and pxa910

Signed-off-by: Jun Nie <redacted>
---
 drivers/video/pxa168fb.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/video/pxa168fb.c b/drivers/video/pxa168fb.c
index 27bdf2b..2ba1444 100644
--- a/drivers/video/pxa168fb.c
+++ b/drivers/video/pxa168fb.c
@@ -875,12 +875,18 @@ failed:
       return ret;
 }

+ static const struct platform_device_id mmpfb_id_table[] = {
+        {"pxa168-fb", 0},
+        {"pxa910-fb", 1},
+ };
+
 static struct platform_driver pxa168fb_driver = {
       .driver         = {
               .name   = "pxa168-fb",
               .owner  = THIS_MODULE,
       },
       .probe          = pxa168fb_probe,
+       .id_table       = mmpfb_id_table,
 };

 static int __devinit pxa168fb_init(void)
--
1.5.4.3
add linux-fbdev@vger.kernel.org
Thread (3 messages) 3 messages, 2 authors, last reply 2009-11-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help