summaryrefslogtreecommitdiff
path: root/include/media
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-01-04 13:31:30 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-02-23 13:20:01 +0300
commitec5b100462543aee1f3e139e168699fd3b05cdc6 (patch)
treed5e1b2b594328e3e7749718e5e853a31f5d0efc5 /include/media
parente77c31ed60d1bbf4879b19309f848e0d8f6df504 (diff)
downloadlinux-ec5b100462543aee1f3e139e168699fd3b05cdc6.tar.xz
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')
-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)
{