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 0D1D5C04A95 for ; Tue, 25 Oct 2022 14:56:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231995AbiJYO4k (ORCPT ); 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: Precedence: bulk List-ID: X-Mailing-List: netdev@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