Commit f224cbec authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: staging: atomisp: add missing include

There are two functions used externally:
	drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_ioctl32.c:866:6: warning: symbol 'atomisp_do_compat_ioctl' was not declared. Should it be static?
	drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_ioctl32.c:1110:6: warning: symbol 'atomisp_compat_ioctl32' was not declared. Should it be static?

whose include header is missing. Add it.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 158dff0e
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include "atomisp_internal.h" #include "atomisp_internal.h"
#include "atomisp_compat.h" #include "atomisp_compat.h"
#include "atomisp_ioctl.h"
#include "atomisp_compat_ioctl32.h" #include "atomisp_compat_ioctl32.h"
static int get_atomisp_histogram32(struct atomisp_histogram *kp, static int get_atomisp_histogram32(struct atomisp_histogram *kp,
...@@ -863,8 +864,8 @@ static long native_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ...@@ -863,8 +864,8 @@ static long native_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
return ret; return ret;
} }
long atomisp_do_compat_ioctl(struct file *file, static long atomisp_do_compat_ioctl(struct file *file,
unsigned int cmd, unsigned long arg) unsigned int cmd, unsigned long arg)
{ {
union { union {
struct atomisp_histogram his; struct atomisp_histogram his;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment