From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753129AbcAWNzY (ORCPT ); Sat, 23 Jan 2016 08:55:24 -0500 Received: from mail-io0-f170.google.com ([209.85.223.170]:34546 "EHLO mail-io0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752582AbcAWNzV (ORCPT ); Sat, 23 Jan 2016 08:55:21 -0500 MIME-Version: 1.0 In-Reply-To: <1451481963-18853-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1451481963-18853-1-git-send-email-sudipm.mukherjee@gmail.com> Date: Sat, 23 Jan 2016 14:55:20 +0100 X-Google-Sender-Auth: y_shE1VeCT2zXXh-JwraK84bKGU Message-ID: Subject: Re: [PATCH] [media] media: Kconfig: add dependency of HAS_DMA From: Geert Uytterhoeven To: Sudip Mukherjee Cc: Mauro Carvalho Chehab , "linux-kernel@vger.kernel.org" , Linux Media Mailing List , Andrew Morton Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 30, 2015 at 2:26 PM, Sudip Mukherjee wrote: > The build of m32r allmodconfig fails with the error: > drivers/media/v4l2-core/videobuf2-dma-contig.c:484:2: > error: implicit declaration of function 'dma_get_cache_alignment' > > The build of videobuf2-dma-contig.c depends on HAS_DMA and it is > correctly mentioned in the Kconfig but the symbol VIDEO_STI_BDISP also > selects VIDEOBUF2_DMA_CONTIG, so it is trying to compile > videobuf2-dma-contig.c even though HAS_DMA is not defined. > > Signed-off-by: Sudip Mukherjee Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds