Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755401AbbLGJS6 (ORCPT ); Mon, 7 Dec 2015 04:18:58 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:53738 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754919AbbLGJS4 (ORCPT ); Mon, 7 Dec 2015 04:18:56 -0500 Subject: Re: [PATCH v3 2/5] drm/dsi: Try to match non-DT dsi devices To: Jani Nikula , dri-devel@lists.freedesktop.org, daniel@ffwll.ch References: <201511302050.evPZc1zs%fengguang.wu@intel.com> <56651937.1080405@codeaurora.org> <87a8pmzly4.fsf@intel.com> <56654A86.1060602@codeaurora.org> <877fkqzksw.fsf@intel.com> Cc: a.hajda@samsung.com, linux-kernel@vger.kernel.org, airlied@linux.ie, treding@nvidia.com, l.stach@pengutronix.de, robh@kernel.org, linux-arm-msm@vger.kernel.org From: Archit Taneja Message-ID: <56654EF4.50807@codeaurora.org> Date: Mon, 7 Dec 2015 14:48:44 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <877fkqzksw.fsf@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2184 Lines: 69 On 12/07/2015 02:40 PM, Jani Nikula wrote: > On Mon, 07 Dec 2015, Archit Taneja wrote: >> On 12/07/2015 02:15 PM, Jani Nikula wrote: >>> On Mon, 07 Dec 2015, Archit Taneja wrote: >>>> Hi, >>>> >>>> On 11/30/2015 06:15 PM, kbuild test robot wrote: >>>>> Hi Archit, >>>>> >>>>> [auto build test ERROR on: v4.4-rc3] >>>>> [also build test ERROR on: next-20151127] >>>>> >>>>> url: https://github.com/0day-ci/linux/commits/Archit-Taneja/drm-dsi-DSI-for-devices-with-different-control-bus/20151130-200725 >>>>> config: x86_64-allyesdebian (attached as .config) >>>>> reproduce: >>>>> # save the attached .config to linux build tree >>>>> make ARCH=x86_64 >>>>> >>>>> All errors (new ones prefixed by >>): >>>>> >>>>> drivers/gpu/drm/drm_mipi_dsi.c: In function 'of_mipi_dsi_device_add': >>>>>>> drivers/gpu/drm/drm_mipi_dsi.c:168:6: error: implicit declaration of function 'of_modalias_node' [-Werror=implicit-function-declaration] >>>>> if (of_modalias_node(node, info.type, sizeof(info.type)) < 0) { >>>> >>>> Any suggestions on how to fix this? Is it ok to make DRM_MIPI_DSI >>>> depend on CONFIG_OF? >>> >>> Please don't. >> >> Just curious, how did x86 use DSI if the only way to create DSI devices >> until now was via DT? > > Oh, you want the gory details... we use the DSI code as a library for > abstraction and helpers, without actually creating or registering the > devices. Okay, got it. I'll go with the IS_ENABLED(CONFIG_OF) approach. Humble request: Next time if I share something that doesn't make sense, please reply with something more than a "Please don't". That just sounds condescending and doesn't really help me with my cause either. Thanks, Archit > > BR, > Jani. > > >> >> Archit >> >>> >>> BR, >>> Jani. >>> > -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/