summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@stericsson.com>2012-01-30 11:21:51 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:04:23 +0200
commit6615fc55c3bda7b9deeecb7ef8b52ccea3268d00 (patch)
treefcd0ae2ebae14818a1fc43d1fbbe8284d1b278af /drivers/video
parent85b9ff145bc61526d2e8d7c61c9c26abd61d8244 (diff)
mcde: ab8500: Changes for porting on 3.3
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/mcde/display-ab8500.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/mcde/display-ab8500.c b/drivers/video/mcde/display-ab8500.c
index f465b0617c7..a761a5eec80 100644
--- a/drivers/video/mcde/display-ab8500.c
+++ b/drivers/video/mcde/display-ab8500.c
@@ -10,6 +10,7 @@
*/
#include <linux/kernel.h>
+#include <linux/module.h>
#include <linux/device.h>
#include <linux/regulator/consumer.h>
#include <linux/slab.h>
@@ -357,7 +358,7 @@ static int set_video_mode(
static int set_power_mode(struct mcde_display_device *ddev,
enum mcde_display_power_mode power_mode)
{
- int ret;
+ int ret = 0;
int i;
struct display_driver_data *driver_data = dev_get_drvdata(&ddev->dev);
AB8500_DISP_TRACE;