OMAPDSS: picodlp: add missing #include <linux/module.h>
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 4 Oct 2011 08:39:38 +0000 (11:39 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 4 Oct 2011 08:45:29 +0000 (11:45 +0300)
Compiling panel-picodlp.c failed with:

drivers/video/omap2/displays/panel-picodlp.c:560:12: error:
'THIS_MODULE' undeclared here (not in a function)

Add #include <linux/module.h> to get THIS_MODULE definition.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/displays/panel-picodlp.c

index f0a51f49e48c7c6aee8c4064336bf2129e65d0a6..98ebdaddab5a323d09e6f7c37e543785c97f8075 100644 (file)
@@ -19,6 +19,7 @@
  * this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <linux/module.h>
 #include <linux/input.h>
 #include <linux/platform_device.h>
 #include <linux/interrupt.h>