* [PATCH] Apollon LCD support
@ 2006-02-22 10:10 Kyungmin Park
2006-02-25 1:13 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Kyungmin Park @ 2006-02-22 10:10 UTC (permalink / raw)
To: linux-omap-open-source
Hi
Sync. with OMAP git tree
Regards,
Kyungmin Park
--
diff --git a/drivers/video/omap/lcd_apollon.c
b/drivers/video/omap/lcd_apollon.c
--- a/drivers/video/omap/lcd_apollon.c
+++ b/drivers/video/omap/lcd_apollon.c
@@ -24,6 +24,7 @@
*/
#include <linux/module.h>
+#include <linux/platform_device.h>
#include <asm/arch/gpio.h>
#include <asm/arch/mux.h>
@@ -105,3 +106,52 @@ struct lcd_panel apollon_panel = {
.disable = apollon_panel_disable,
.get_caps = apollon_panel_get_caps,
};
+
+static int apollon_panel_probe(struct platform_device *pdev)
+{
+ DBGENTER(1);
+ omapfb_register_panel(&apollon_panel);
+ return 0;
+}
+
+static int apollon_panel_remove(struct platform_device *pdev)
+{
+ DBGENTER(1);
+ return 0;
+}
+
+static int apollon_panel_suspend(struct platform_device *pdev, pm_message_t
mesg)
+{
+ DBGENTER(1);
+ return 0;
+}
+
+static int apollon_panel_resume(struct platform_device *pdev)
+{
+ DBGENTER(1);
+ return 0;
+}
+
+struct platform_driver apollon_panel_driver = {
+ .probe = apollon_panel_probe,
+ .remove = apollon_panel_remove,
+ .suspend = apollon_panel_suspend,
+ .resume = apollon_panel_resume,
+ .driver = {
+ .name = "apollon_lcd",
+ .owner = THIS_MODULE,
+ },
+};
+
+static int __init apollon_panel_drv_init(void)
+{
+ return platform_driver_register(&apollon_panel_driver);
+}
+
+static void __exit apollon_panel_drv_exit(void)
+{
+ platform_driver_unregister(&apollon_panel_driver);
+}
+
+module_init(apollon_panel_drv_init);
+module_exit(apollon_panel_drv_exit);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Apollon LCD support
2006-02-22 10:10 [PATCH] Apollon LCD support Kyungmin Park
@ 2006-02-25 1:13 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2006-02-25 1:13 UTC (permalink / raw)
To: Kyungmin Park; +Cc: linux-omap-open-source
* Kyungmin Park <kyungmin.park@samsung.com> [060222 09:26]:
> Hi
>
> Sync. with OMAP git tree
Thanks, pushing today.
Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-02-25 1:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-22 10:10 [PATCH] Apollon LCD support Kyungmin Park
2006-02-25 1:13 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox