[<prev] [next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.1302061904060.13474@axis700.grange>
Date: Wed, 6 Feb 2013 19:06:00 +0100 (CET)
From: Guennadi Liakhovetski <g.liakhovetski@....de>
To: linux-kernel@...r.kernel.org
cc: Andrew Morton <akpm@...ux-foundation.org>,
Richard Purdie <rpurdie@...ys.net>
Subject: [PATCH] backlight: as3711: fix compilation breakage
Include the missing platform_device.h header to fix errors like
error: implicit declaration of function 'platform_set_drvdata'
and similar.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@....de>
---
Please, push for 3.9
drivers/video/backlight/as3711_bl.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/video/backlight/as3711_bl.c b/drivers/video/backlight/as3711_bl.c
index c6bc65d..41d52fe 100644
--- a/drivers/video/backlight/as3711_bl.c
+++ b/drivers/video/backlight/as3711_bl.c
@@ -17,6 +17,7 @@
#include <linux/kernel.h>
#include <linux/mfd/as3711.h>
#include <linux/module.h>
+#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/slab.h>
--
1.7.2.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists