summaryrefslogtreecommitdiffstats
path: root/include/media/dvb_vb2.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-01-04 11:31:30 +0100
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-02-23 11:20:01 +0100
commitec5b100462543aee1f3e139e168699fd3b05cdc6 (patch)
treed5e1b2b594328e3e7749718e5e853a31f5d0efc5 /include/media/dvb_vb2.h
parentmedia: videobuf2: fix build issues with vb2-trace (diff)
downloadlinux-ec5b100462543aee1f3e139e168699fd3b05cdc6.tar.xz
linux-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/media/dvb_vb2.h')
-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)
{