More missing module.h includes
While compiling the very latest for_v3.3 branch with the very latest media_build on a 3.1 kernel I got more compile errors for a missing module.h header.
Add these includes.
Signed-off-by Hans Verkuil <[email protected]>
Regards,
Hans
drivers/media/media-device.c +1 -0
@@ -21,6 +21,7 @@*/ #include <linux/types.h> +#include <linux/module.h> #include <linux/ioctl.h> #include <linux/media.h> #include <linux/export.h>
drivers/media/video/hdpvr/hdpvr-i2c.c +1 -0
@@ -15,6 +15,7 @@#if defined(CONFIG_I2C ) || defined(CONFIG_I2C_MODULE ) +#include <linux/module.h> #include <linux/i2c.h> #include <linux/slab.h> #include <linux/export.h>
drivers/media/video/v4l2-subdev.c +1 -0
@@ -20,6 +20,7 @@* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include <linux/module.h> #include <linux/ioctl.h> #include <linux/slab.h> #include <linux/types.h>
Quoted 2 lines · On Friday, November 25, 2011 12:37:58 Hans Verkuil wrote:
While compiling the very latest for_v3.3 branch with the very latest
media_buildon a 3.1 kernel I got more compile errors for a missingmodule.hheader.
I spoke too soon, I was actually using a different source tree than I expected.
I need to do some more digging in order to understand why I get these compile errors...
Regards,
Hans
Quoted 50 lines
Add these includes.
Signed-off-by Hans Verkuil <[email protected]>Regards,
Hans
drivers/media/media-device.c +1
-0@@ -21,6 +21,7 @@*/ #include <linux/types.h> +#include <linux/module.h> #include <linux/ioctl.h> #include <linux/media.h> #include <linux/export.h> drivers/media/video/hdpvr/hdpvr-i2c.c +1
-0@@ -15,6 +15,7 @@#if defined(CONFIG_I2C ) || defined(CONFIG_I2C_MODULE ) +#include <linux/module.h> #include <linux/i2c.h> #include <linux/slab.h> #include <linux/export.h> drivers/media/video/v4l2-subdev.c +1
-1@@ -20,6 +20,7 @@* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include <linux/module.h> #include <linux/ioctl.h> #include <linux/slab.h> #include <linux/types.h> --To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html