aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-01-04 05:31:30 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-02-23 05:20:01 -0500
commitec5b100462543aee1f3e139e168699fd3b05cdc6 (patch)
treed5e1b2b594328e3e7749718e5e853a31f5d0efc5 /include
parentmedia: videobuf2: fix build issues with vb2-trace (diff)
downloadlinux-dev-ec5b100462543aee1f3e139e168699fd3b05cdc6.tar.xz
linux-dev-ec5b100462543aee1f3e139e168699fd3b05cdc6.zip
media: dvb: fix DVB_MMAP symbol name
CONFIG_DVB_MMAP was misspelled either as CONFIG_DVB_MMSP or DVB_MMAP, so it had no effect at all. This fixes that, to make it possible to build it again. Fixes: 4021053ed52d ("media: dvb-core: make DVB mmap API optional") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include')
-rw-r--r--include/media/dvb_vb2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/dvb_vb2.h b/include/media/dvb_vb2.h
index 01d1202d1a55..056adc860272 100644
--- a/include/media/dvb_vb2.h
+++ b/include/media/dvb_vb2.h
@@ -103,7 +103,7 @@ struct dvb_vb2_ctx {
char name[DVB_VB2_NAME_MAX + 1];
};
-#ifndef DVB_MMAP
+#ifndef CONFIG_DVB_MMAP
static inline int dvb_vb2_init(struct dvb_vb2_ctx *ctx,
const char *name, int non_blocking)
{