sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched...
[linux-2.6-block.git] / drivers / gpu / drm / omapdrm / displays / panel-dsi-cm.c
index dc026a8437123f44df161e57eb8ec7045439c25f..ac5800c72cb48ee36a59bda5d76b356cf0409296 100644 (file)
@@ -18,7 +18,7 @@
 #include <linux/jiffies.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
-#include <linux/sched.h>
+#include <linux/sched/signal.h>
 #include <linux/slab.h>
 #include <linux/workqueue.h>
 #include <linux/of_device.h>
@@ -1253,7 +1253,7 @@ static int dsicm_probe(struct platform_device *pdev)
        dsicm_hw_reset(ddata);
 
        if (ddata->use_dsi_backlight) {
-               memset(&props, 0, sizeof(struct backlight_properties));
+               memset(&props, 0, sizeof(props));
                props.max_brightness = 255;
 
                props.type = BACKLIGHT_RAW;