From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4537C32751 for ; Wed, 31 Jul 2019 12:11:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4916A20659 for ; Wed, 31 Jul 2019 12:11:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="d1JmcRvt" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728284AbfGaMLi (ORCPT ); Wed, 31 Jul 2019 08:11:38 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:50328 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725793AbfGaMLh (ORCPT ); Wed, 31 Jul 2019 08:11:37 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x6VCBXvT103048; Wed, 31 Jul 2019 07:11:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1564575093; bh=9kumtwSF+8X5y9StzLhD9AwVScn9PWy2LjR254AomAs=; h=Subject:From:To:References:Date:In-Reply-To; b=d1JmcRvtrXIP73p2fD/fUV+anxBdeNJblp0fvBOGagD+O3DBMl5dX20oJiPCt81vV X5yhcun7TFoJVfgHm0NmfBIEzk/oBFQOKc28BIW5R3qeC8jd4nQXjzsK9YlHnDHxIv ziQd+tGwxwNocMtMW/Dcqw21AXoWrx1dMC/vdKJQ= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x6VCBX2W000718 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 31 Jul 2019 07:11:33 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 31 Jul 2019 07:11:32 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Wed, 31 Jul 2019 07:11:32 -0500 Received: from [10.250.65.13] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x6VCBWN0098626; Wed, 31 Jul 2019 07:11:32 -0500 Subject: Re: LEDs next branch From: Dan Murphy To: Jacek Anaszewski , "linux-leds@vger.kernel.org" , Pavel Machek References: <99b075d0-e230-35bc-06c5-712a69fab91d@ti.com> <5be9a3a2-810b-c08a-e631-b7afa005a136@gmail.com> <0aa100fc-70d1-e391-9196-4e987bd24d34@ti.com> Message-ID: <21774f35-3523-a964-a6e6-1ee363e2b727@ti.com> Date: Wed, 31 Jul 2019 07:11:32 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <0aa100fc-70d1-e391-9196-4e987bd24d34@ti.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-leds-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Jacek On 7/30/19 4:11 PM, Dan Murphy wrote: > Jacek > > On 7/30/19 3:47 PM, Dan Murphy wrote: >> Jacek >> >> On 7/30/19 3:30 PM, Jacek Anaszewski wrote: >>> Hi Dan, >>> >>> On 7/30/19 8:40 PM, Dan Murphy wrote: >>>> Jacek >>>> >>>> Did you see/fix this on the led-next branch? >>>> >>>> I saw this when booting trying to fix the lm3532 >>>> >>>> [    8.651461] led_class: exports duplicate symbol >>>> devm_led_classdev_register_ext (owned by kernel) >>>> >>>> [    8.730063] led_class: exports duplicate symbol >>>> devm_led_classdev_register_ext (owned by kernel) >>> I've just tried next-20190730 and haven't noticed anything like that. >>> I've checked both with driver compiled-in and loaded as a module. >> > [...] > > Try configuring the LEDS_CLASS as a built-in module. > > -CONFIG_LEDS_CLASS=m > +CONFIG_LEDS_CLASS=y > > I am also on for-next > I figured it out.  I had old modules which had the led_class as a module as opposed to a built in. Sorry for the noise Dan > Dan >