[PATCH] media: davinci: added module.h to resolve unresolved macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Included module.h explicitly to resolve the macros THIS_MODULE and 
MODULE_LICENSE. This avoids compilations errors as those defines were not 
declared.

Signed-off-by: Henrique Camargo <henrique@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Diogo Luvizon <diogoluvizon@xxxxxxxxx>
---
 drivers/media/video/davinci/isif.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/media/video/davinci/isif.c b/drivers/media/video/davinci/isif.c
index 1e63852..5278fe7 100644
--- a/drivers/media/video/davinci/isif.c
+++ b/drivers/media/video/davinci/isif.c
@@ -34,6 +34,7 @@
 #include <linux/videodev2.h>
 #include <linux/clk.h>
 #include <linux/err.h>
+#include <linux/module.h>
 
 #include <mach/mux.h>
 
-- 
1.7.8.3

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux