Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@

#include "atomisp_internal.h"
#include "atomisp_compat.h"
#include "atomisp_ioctl.h"
#include "atomisp_compat_ioctl32.h"

static int get_atomisp_histogram32(struct atomisp_histogram *kp,
@@ -863,7 +864,7 @@ static long native_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
	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)
{
	union {