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

Commit a13625c5 authored by Pekka Enberg's avatar Pekka Enberg Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (6324): fix videobuf_cgmbuf export



As videobuf_cgmbuf is defined only if CONFIG_VIDEO_V4L1_COMPAT is enabled,
move the EXPORT_SYMBOL_GPL declaration inside the #ifdef block.  Fixes
compilation for x86_64 defconfig.

Signed-off-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 475d5263
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -967,6 +967,7 @@ int videobuf_cgmbuf(struct videobuf_queue *q,

	return 0;
}
EXPORT_SYMBOL_GPL(videobuf_cgmbuf);
#endif

/* --------------------------------------------------------------------- */
@@ -985,7 +986,6 @@ EXPORT_SYMBOL_GPL(videobuf_reqbufs);
EXPORT_SYMBOL_GPL(videobuf_querybuf);
EXPORT_SYMBOL_GPL(videobuf_qbuf);
EXPORT_SYMBOL_GPL(videobuf_dqbuf);
EXPORT_SYMBOL_GPL(videobuf_cgmbuf);
EXPORT_SYMBOL_GPL(videobuf_streamon);
EXPORT_SYMBOL_GPL(videobuf_streamoff);