Fix call to backlight_device_register() changed in kernel 2.6.34 by commit
a19a6ee6cad2b20292a774c2f56ba8039b0fac9c .

Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net>

--- intel_lvds.c.bak	2010-04-02 00:26:45.489008304 +0200
+++ intel_lvds.c	2010-04-02 00:40:51.530267983 +0200
@@ -801,7 +801,14 @@
 
 	if ((blc_type == BLC_I2C_TYPE) || (blc_type == BLC_PWM_TYPE)){	
 		/* add /sys/class/backlight interface as standard */
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,34)
+		struct backlight_properties props;
+		memset(&props, 0, sizeof(struct backlight_properties));
+		props.max_brightness = BRIGHTNESS_MAX_LEVEL;
+		psbbl_device = backlight_device_register("psblvds", &dev->pdev->dev, dev, &psbbl_ops, &props);
+#else
 		psbbl_device = backlight_device_register("psblvds", &dev->pdev->dev, dev, &psbbl_ops);
+#endif
 		if (psbbl_device){
 #if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,20)
 			down(&psbbl_device->sem);
