From patchwork Fri Oct 2 09:19:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacek Anaszewski X-Patchwork-Id: 7314281 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C24DABEEA4 for ; Fri, 2 Oct 2015 09:19:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 009992089B for ; Fri, 2 Oct 2015 09:19:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7BAFA20892 for ; Fri, 2 Oct 2015 09:19:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751789AbbJBJTa (ORCPT ); Fri, 2 Oct 2015 05:19:30 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:40023 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751450AbbJBJT3 (ORCPT ); Fri, 2 Oct 2015 05:19:29 -0400 Received: from epcpsbgm2new.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NVL00ES05WC46D0@mailout2.samsung.com>; Fri, 02 Oct 2015 18:19:24 +0900 (KST) X-AuditID: cbfee61b-f79d56d0000048c5-2f-560e4c1ce461 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 69.B3.18629.C1C4E065; Fri, 2 Oct 2015 18:19:24 +0900 (KST) Received: from AMDC2362.DIGITAL.local ([106.120.53.23]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NVL00C355W6AR70@mmp1.samsung.com>; Fri, 02 Oct 2015 18:19:24 +0900 (KST) From: Jacek Anaszewski To: linux-media@vger.kernel.org Cc: linux-leds@vger.kernel.org, Jacek Anaszewski , Sakari Ailus , Hans Verkuil Subject: [PATCH] v4l2-flash-led-class: Add missing VIDEO_V4L2 Kconfig dependency Date: Fri, 02 Oct 2015 11:19:15 +0200 Message-id: <1443777555-6710-1-git-send-email-j.anaszewski@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPJMWRmVeSWpSXmKPExsVy+t9jAV0ZH74wgy9dXBZLfu5isui9+pzR YuubdYwWPRu2slqc2b+SzYHVY8rvjaweh78uZPHo27KK0ePzJrkAligum5TUnMyy1CJ9uwSu jG3bd7AWdIhUPJh8nqWB8YtgFyMnh4SAiUTHpkPMELaYxIV769m6GLk4hASWMkpsWr6bGcL5 ySgxcdVRFpAqNgFDiZ8vXjOB2CIC8hJPem+AdTALzGCUuDBjKViRsECAxNLOWWwgNouAqsSl j7uBGjg4eAXcJX6/dwQxJQQUJOZMspnAyL2AkWEVo0RqQXJBcVJ6rlFearlecWJucWleul5y fu4mRnAwPJPewXh4l/shRgEORiUe3ojTvGFCrIllxZW5hxglOJiVRHi9lPjChHhTEiurUovy 44tKc1KLDzFKc7AoifPeOMQQJiSQnliSmp2aWpBaBJNl4uCUamAUUrjVtTP49TVetpC552bP YdL4nrTZsc48dx3Ty9ni5wNVrl/mn/6hsIrRcst57x1K95yYudizHJQVzOV6ZXTqwhhbfDnN 5nycuaL5/WOljgssqXYFy9WPaL7ak7pvm2ZQ1aw4vmSOq4lnblXv/LRbSvgSi6mA8aJrrCrW 176L8rMc/r5YIE+JpTgj0VCLuag4EQBXXbzXAgIAAA== Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes the following randconfig problem: drivers/built-in.o: In function `v4l2_flash_release': (.text+0x12204f): undefined reference to `v4l2_async_unregister_subdev' drivers/built-in.o: In function `v4l2_flash_release': (.text+0x122057): undefined reference to `v4l2_ctrl_handler_free' drivers/built-in.o: In function `v4l2_flash_close': v4l2-flash-led-class.c:(.text+0x12208f): undefined reference to `v4l2_fh_is_singular' v4l2-flash-led-class.c:(.text+0x1220c8): undefined reference to `__v4l2_ctrl_s_ctrl' drivers/built-in.o: In function `v4l2_flash_open': v4l2-flash-led-class.c:(.text+0x12227f): undefined reference to `v4l2_fh_is_singular' drivers/built-in.o: In function `v4l2_flash_init_controls': v4l2-flash-led-class.c:(.text+0x12274e): undefined reference to `v4l2_ctrl_handler_init_class' v4l2-flash-led-class.c:(.text+0x122797): undefined reference to `v4l2_ctrl_new_std_menu' v4l2-flash-led-class.c:(.text+0x1227e0): undefined reference to `v4l2_ctrl_new_std' v4l2-flash-led-class.c:(.text+0x122826): undefined reference to `v4l2_ctrl_handler_setup' v4l2-flash-led-class.c:(.text+0x122839): undefined reference to `v4l2_ctrl_handler_free' drivers/built-in.o: In function `v4l2_flash_init': (.text+0x1228e2): undefined reference to `v4l2_subdev_init' drivers/built-in.o: In function `v4l2_flash_init': (.text+0x12293b): undefined reference to `v4l2_async_register_subdev' drivers/built-in.o: In function `v4l2_flash_init': (.text+0x122949): undefined reference to `v4l2_ctrl_handler_free' drivers/built-in.o:(.rodata+0x20ef8): undefined reference to `v4l2_subdev_queryctrl' drivers/built-in.o:(.rodata+0x20f10): undefined reference to `v4l2_subdev_querymenu' Signed-off-by: Jacek Anaszewski Reported-by: kbuild test robot Cc: Sakari Ailus Cc: Hans Verkuil --- drivers/media/v4l2-core/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/v4l2-core/Kconfig b/drivers/media/v4l2-core/Kconfig index 82876a6..9beece0 100644 --- a/drivers/media/v4l2-core/Kconfig +++ b/drivers/media/v4l2-core/Kconfig @@ -47,7 +47,7 @@ config V4L2_MEM2MEM_DEV # Used by LED subsystem flash drivers config V4L2_FLASH_LED_CLASS tristate "V4L2 flash API for LED flash class devices" - depends on VIDEO_V4L2_SUBDEV_API + depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on LEDS_CLASS_FLASH ---help--- Say Y here to enable V4L2 flash API support for LED flash