 +#define EZX_DEFAULT_INTENSITY  25
 +
 +static spinlock_t bl_lock = SPIN_LOCK_UNLOCKED;
-+static struct backlight_properties ezxbl_data;
 +static struct backlight_device *ezx_backlight_device;
 +static int last_intensity;
 +
-+static int ezx_send_intensity(struct backlight_device *bd)
++static int ezxbl_send_intensity(struct backlight_device *bd)
 +{
 +	unsigned long flags;
 +	int intensity = bd->props->brightness;
 +
-+	printk( KERN_DEBUG "ezx_set_intensity to %d", intensity );
++	printk( KERN_DEBUG "ezx_set_intensity to %d\n", intensity );
 +
 +	if (bd->props->power != FB_BLANK_UNBLANK)
 +		intensity = 0;

+	return 0;
+}
+
+static struct platform_driver ezx_bl_driver = {
+	.probe		= ezx_bl_probe,
+	.remove		= ezx_bl_remove,
+	.suspend	= ezx_bl_suspend,
+	.resume		= ezx_bl_resume,
+	.driver		= {
+		.name		= "ezx-bl",
+	},
+};
+
+static int __init ezx_bl_init(void)
+{
+	return platform_driver_register(&ezx_bl_driver);
+}
+
+static void __exit ezx_bl_exit(void)
+{
+ 	platform_driver_unregister(&ezx_bl_driver);
+}
+
+module_init(ezx_bl_init);
+module_exit(ezx_bl_exit);
+
+MODULE_AUTHOR("Michael Lauer <mickey@Vanille.de>");
+MODULE_DESCRIPTION("Backlight Driver for Motorola A780|E680(i)");

 #ifdef CONFIG_PXA_EZX_E680
 	&e680led_device,
 #endif
--- linux-2.6.16/drivers/video/backlight/Kconfig~ezx-backlight-r1.patch	2006-06-08 19:33:34.000000000 +0200
+++ linux-2.6.16/drivers/video/backlight/Kconfig	2006-06-08 19:33:37.000000000 +0200
@@ -58,3 +58,12 @@
 	  If you have a HP Jornada 680, say y to enable the
 	  backlight driver.
