Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3624589rwa; Tue, 23 Aug 2022 07:37:47 -0700 (PDT) X-Google-Smtp-Source: AA6agR7MqSbffwD6zibhZ8elWqf5cWrA0yDZsADGf+8Ojnifpiz0yXWxFdjFF0MDIh583My1iYz/ X-Received: by 2002:a17:90b:3c0b:b0:1fa:fe78:6385 with SMTP id pb11-20020a17090b3c0b00b001fafe786385mr3619005pjb.55.1661265467148; Tue, 23 Aug 2022 07:37:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661265467; cv=none; d=google.com; s=arc-20160816; b=Fbxg7Y0VQFgc/ERlB2k75ATqCriCJVJmXiVCcqmdvvgtKysnLtBruyJkWGcZBpCSFZ GVcyMAlj/UdW4Of5W4kUSku8iLB3jfPwA9PioPfQjAl+z2BPf5LXG7jKH4ng2y2BlEoB skTKu/a8N0nyF2hcc3ytJfJEMP0JkCtg1b2ZOHum0y9kA3rh3mGKpw+LTZQhMpupgGN6 P8l0+j8KeESk6mC8RS8QOeBjzyeNJ+YVgV+QpNHZ61qig4m2Vm8rhi22GpPyBmb5HoLm YEa5WXD+yaEi/mHKrNDSUxo0kBNTj/X4l3y0x5pjx5dfuQoYPM3DaD5Jb495MxnklIe+ w4gw== 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=achXUlzuBjyONodtUeLnfZnj8Jf+SpcKc+8Pi9T6DUM=; b=lCcrpU8UPyXOaU3tOD6pdj++QSf4+ED7KGGN7P8jhX6+dtq6LyML2TS/5WUS5QgVN2 oYbRFDaQnOK51Nhh23LiUgdlT4HKsO+yGW9ktlddczNj8dvXwyoTkRr2Vhy52cosR8et CxbpIjOdC3C8N27NNtAcngunR5mAOgY4TSmWaa0y2HHU+B6eQFFnQiMb9XOyprSs0Efa nM9oxrF7aIIFKxaL9XS9cLR6AAvH/+U3JjrmtOosChozIavnS/XpEruZWP63RJ4d6aVm fqLkzBfogUBdvf8j+GtqSrPvUNRl1XVGHEHiRxgzMWqr/ySuWTXuW9RsMPa6pttG7PJg Qw/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=z2YneyHp; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bj22-20020a056a02019600b0041de94db100si16395988pgb.842.2022.08.23.07.37.35; Tue, 23 Aug 2022 07:37:47 -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=@linuxfoundation.org header.s=korg header.b=z2YneyHp; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242478AbiHWOdQ (ORCPT + 99 others); Tue, 23 Aug 2022 10:33:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238336AbiHWOc6 (ORCPT ); Tue, 23 Aug 2022 10:32:58 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C726C2B147D; Tue, 23 Aug 2022 04:48:56 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 83E9ECE1B60; Tue, 23 Aug 2022 11:24:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 63552C433C1; Tue, 23 Aug 2022 11:24:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661253867; bh=LY8UHKhDFtoFhMwpiR4sGrOl/BmJ2ROozJYZ/PjEh14=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=z2YneyHpk4O25CNnCARr35QqpRPdVy9umZQ4cep7Rk8y0ekikF5jWNQiQ9ZBUaH8e v8RHr+R+wpn8JpYnhiDEXDkF1FNnDmKGMvQh5Q8CeW8htHIcdDUGZfib6pOCF5yXtA 4VV92vMOwkFzRNVxKWxWyC2+OY6FRZc++triTVj8= Date: Tue, 23 Aug 2022 13:24:25 +0200 From: Greg KH To: Kumaravel Thiagarajan Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, UNGLinuxDriver@microchip.com, arnd@arndb.de, dragan.cvetic@xilinx.com, derek.kiernan@xilinx.com Subject: Re: [PATCH RFC char-misc-next 1/5] misc: microchip: pci1xxxx: load auxiliary bus driver for the PIO function in the multi-function endpoint of pci1xxxx device. Message-ID: References: <20220804163219.921640-1-kumaravel.thiagarajan@microchip.com> <20220804163219.921640-2-kumaravel.thiagarajan@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220804163219.921640-2-kumaravel.thiagarajan@microchip.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Thu, Aug 04, 2022 at 10:02:15PM +0530, Kumaravel Thiagarajan wrote: > +// SPDX-License-Identifier: GPL-2.0+ I have to ask, do you really mean "or any later version" like you are saying here? > +// Copyright (C) 2022 Microchip Technology Inc. > + > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include "mchp_pci1xxxx_gp.h" > + > +struct aux_bus_device { > + struct auxiliary_device_wrapper *aux_device_wrapper[2]; > +}; > + > +DEFINE_IDA(gp_client_ida); Shouldn't this be static? thanks, greg k-h