Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp8679497rwi; Tue, 25 Oct 2022 09:29:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7C4+Pbg6DZ2NQNEg0kFfxm2ftrR+r4iNMa5K06WqURvQQYS46y18e3f8aTK/Bv80uKDeef X-Received: by 2002:aa7:cc8a:0:b0:45b:f851:2943 with SMTP id p10-20020aa7cc8a000000b0045bf8512943mr37118960edt.103.1666715372343; Tue, 25 Oct 2022 09:29:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666715372; cv=none; d=google.com; s=arc-20160816; b=gICDQ7BQ2oUtSFsZUr7M+sgXJXdcbISc6c7xeyadDQJAQn8BRAhrBPERap6fm+lHLo bd2+G6acdR76UrpNyio4S1NE88+oiOImhOeD4+BXWwxcvvt/jSOi8u1i91TLkdICoJ0M aJ65O04WSa+bR46FmAmf55Zh1866sr3Ylx/9bpHP4HFFKiatkWcMterQbDzc5HKsR8Xu 7+/1LBCUYFlBWNYuka+SX51yV6UZ7y9mqBwyVt1I55qk12XrZiV9ykwyiVEBBzNQ6Dbp lfr6g0NF0LB/ALMjpg+Sh0gW3/1ALYDxu0KHzhA98IWHLbXsgBYx359STTx0Jem0fxcL 43sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9KVXF2dISX3pY65jB8OyxCsjmXAhcXjHeJSKytlZuPM=; b=SzqH8wPvZjx88mWGedufnSczaBPhvJOmYJmvo79XNV7G7/teLr5HFI4JUY9l88fOMW tTSir9BQTAyoB/spOxfkAr11oGn0EJ+HZADqVslT4aydY+BiNMiKp0PEKDt3CukGExrc eKJU+heeSslrCRnRLj8Xurvjoeq08hq9RTOlN5nQBOHV+jp2lSR7lIBhEkVB1hpkQy6x Kg1rXk+rj/Tl7o9XRWUNRzu/rOJ0XhZNaJands/xGaTptqAqo6SEjOCPNYHXqy/wSG8s P8U83AwbroHPCBwMTW7zX0f8IZwG4X/M6woupByzyv8J+b1mniDEG1K0wuhnWJHFewke lDKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=Owofaety; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qf38-20020a1709077f2600b0078331a3b123si3452946ejc.572.2022.10.25.09.29.07; Tue, 25 Oct 2022 09:29:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=Owofaety; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232094AbiJYO4k (ORCPT + 99 others); Tue, 25 Oct 2022 10:56:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230483AbiJYO4i (ORCPT ); Tue, 25 Oct 2022 10:56:38 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4114818A034; Tue, 25 Oct 2022 07:56:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=9KVXF2dISX3pY65jB8OyxCsjmXAhcXjHeJSKytlZuPM=; b=Owofaetynqm03uumkMa7jEjadZ uCw+iHCEsi2tJJfvqYWtXq4eoTHRKUQ3O7aAEvAjnFZZfGJx63Hdon5YGHwrYzK5WtAC4vw2mv1Jb atO2d1OMqmy3kdqz0wrKvLsCgtXK8dpI2uYvY8TatJuYNquS7zT5dh4IiecooJbghc4g=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1onLLx-000Xdt-M5; Tue, 25 Oct 2022 16:56:29 +0200 Date: Tue, 25 Oct 2022 16:56:29 +0200 From: Andrew Lunn To: Krzysztof Kozlowski Cc: Camel Guo , "David S. Miller" , Eric Dumazet , Florian Fainelli , Jakub Kicinski , Krzysztof Kozlowski , Paolo Abeni , Rob Herring , Russell King , Vivien Didelot , Vladimir Oltean , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Rob Herring , kernel@axis.com Subject: Re: [RFC net-next 2/2] net: dsa: Add driver for Maxlinear GSW1XX switch Message-ID: References: <20221025135243.4038706-1-camel.guo@axis.com> <20221025135243.4038706-3-camel.guo@axis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > +EXPORT_SYMBOL(gsw1xx_shutdown); > > 1. EXPORT_SYMBOL_GPL > 2. Why do you do it in the first place? It's one driver, no need for > building two modules. Same applies to other places. At some point, there is likely to be SPI and UART support. The communication with the chip and the core driver will then be in separate modules. But i agree this is not needed at the moment when it is all linked into one. Andrew