v4l2-ctrls.c was missing slab.h
PATCH 1/1 v4l2-ctrls.c was missing slab.h
Fixed broken compile of drivers/media/video/v4l2-ctrls.c. It failed due to missing #include <linux/slab.h>, and errored-out with "implicit declaration of function kzalloc, kmalloc, ..."
Signed-off-by Christopher Friedt <[email protected]>
--- drivers/media/video/v4l2-ctrls.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/media/video/v4l2-ctrls.c +1 -0
@@ -18,6 +18,7 @@Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include <linux/slab.h> #include <linux/ctype.h> #include <media/v4l2-ioctl.h> #include <media/v4l2-device.h>
Signature · 1 line
1.7.0.4
Quoted 14 lines · Christopher Friedt
Fixed broken compile of
drivers/media/video/v4l2-ctrls.c. It failed due to missing #include <linux/slab.h>, and errored-out with "implicit declaration of function kzalloc, kmalloc, ..."Signed-off-by Christopher Friedt <[email protected]>--- drivers/media/video/v4l2-ctrls.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/media/video/v4l2-ctrls.c +0
-0
drivers/media/video/v4l2-ctrls.c line 22
Quoted 5 lines
drivers/media/video/v4l2-ctrls.c +1
-0@@ -18,6 +18,7 @@Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include <linux/slab.h> #include <linux/ctype.h>
an alphabetic order is preferred, even if it is not preserved elsewhere in the file...
Thanks
Guennadi
Quoted 10 lines
drivers/media/video/v4l2-ctrls.c +0
-0#include <media/v4l2-ioctl.h> #include <media/v4l2-device.h> Signature · 6 lines
1.7.0.4 -- 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
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/