]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
backlight: as3711: fix compilation breakage
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 20 Feb 2013 02:15:30 +0000 (13:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:17 +0000 (16:53 +1100)
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@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/as3711_bl.c

index c6bc65de1d472f6f35c6982efd8025cc42ef82c2..41d52fe52543922bea522cd990ddc1bc0dcbc1c0 100644 (file)
@@ -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>