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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7403AC001B0 for ; Thu, 13 Jul 2023 09:35:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230408AbjGMJfU (ORCPT ); Thu, 13 Jul 2023 05:35:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233296AbjGMJfO (ORCPT ); Thu, 13 Jul 2023 05:35:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D8C72118; Thu, 13 Jul 2023 02:35:05 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 35AFA61AA3; Thu, 13 Jul 2023 09:35:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5CE8C433C7; Thu, 13 Jul 2023 09:35:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689240904; bh=lO59LrWn+BDuGmFHjQkiC0C5iyCqQnSMPxzJYUGFRL4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GhHxt8EHSZe2zoWUNhy5M2KBdzqsZpnKOa5aG2GWTYXPPR14SrlHD4tLHbSKGt3J1 deUzhoxj0Zdv9BgSd59b0l+RpUzUtwSYM8GVhYE1biN617Pfxvdq8KD/KMEGcsjHQn RRLdYu/3H5WV46/wJ7tzRWk1YMPGgS7cEv04lPNmSCm0PKdsyv4863+tiCjHF8HZUo vhCcI5sV/l+p0pfKeaJnodqsNwgOm/hGPGYkJFKJKE96RQEoQeOdUwwaPgvYIfhh/A Y4jXoCEBYF6M9RgsmKBHfUv2ivxGoGka1br9Njd+G0e5lQQvgvvcEO6GEXKyYhY7rA lAm4rwZMt5/5A== Date: Thu, 13 Jul 2023 10:34:59 +0100 From: Lee Jones To: Arnd Bergmann Cc: Pavel Machek , Andy Shevchenko , Henning Schild , Arnd Bergmann , Hans de Goede , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] leds: simatic-ipc-leds-gpio: restore LEDS_CLASS dependency Message-ID: <20230713093459.GG10768@google.com> References: <20230623152233.2246285-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230623152233.2246285-1-arnd@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 23 Jun 2023, Arnd Bergmann wrote: > From: Arnd Bergmann > > A recent rework accidentally lost the dependency on LEDS_CLASS, which > leads to a link error when LED support is disbled: > > x86_64-linux-ld: drivers/leds/simple/simatic-ipc-leds.o: in function `simatic_ipc_leds_probe': > simatic-ipc-leds.c:(.text+0x10c): undefined reference to `devm_led_classdev_register_ext' > > Add back the dependency that was there originally. > > Fixes: a6c80bec3c935 ("leds: simatic-ipc-leds-gpio: Add GPIO version of Siemens driver") > Signed-off-by: Arnd Bergmann > --- > drivers/leds/simple/Kconfig | 1 + > 1 file changed, 1 insertion(+) Applied, thanks -- Lee Jones [李琼斯]