Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3338113pxf; Mon, 22 Mar 2021 04:13:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvQ0VKaiDrBN30Qg0TJo1GAfDw4d0gpY/4zJWBTWCSujjvltGub5RGyGpFc9DIGqiwltr/ X-Received: by 2002:a17:906:af6f:: with SMTP id os15mr18890244ejb.279.1616411638178; Mon, 22 Mar 2021 04:13:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616411638; cv=none; d=google.com; s=arc-20160816; b=dmYtAw68+c465H75Em6xwjU8lB4DfyZQbvAB1S5mgbc/vBihL5MHfvs1nDha4GCJKr DpfJ79BP8Caz74vItJWwwPrX76DqJOuYUv6Pt8U0lQcnqKl/cA1VGNjPkYKxr0hmcsVC iZtsiR7PeRlX7w5qpIx8q9seZltuJZnZf8vXWBE5VSVejI1fqWjv0xoj3IDItHt7+m9i B303aPbMqu3kZQjHcNrgVKO2Ou5/fTOc5cOYCnlK3yWKk/0rUR6q8kvtc7tttpo3lOtT ucrTC/qbm86Fe0/fvcSCUcNI9WF7FMffXCv1E5fARlepqmn2z/f2o1JkjkSzTccVgU/z JBaQ== 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=vGqc/eBhtuWk9juoNSWRFBt50f+jlSVh/XzPha3L6iU=; b=DxpUjznlC8pdhlwyNru/twEFdHs0VIItBigmj68VCU8Mx9QFNo8gm/5vrCpSNUNBso qRYF6DXOY1Ml4jGWtkeGi0Dg+FZVl/ZS71LsqmxxLcDP3fwk/SkP8dDiNK6p5E9ndCF5 oxHLsJe3lbxuiJNzygo5gyOYzipx1j9u1uuljlaXPtqqQWsmGqKFUf4oyf3k6XM0fdn0 cCqZLwo8ZODANmjSIJmRi5HJaaAu7E4GFi705Mm0OE26jazQtESIt9zs4brHcyErsD8G QKlsQB84CjTIceZnjCDqU+kkj2snrp6OGT+79zfGuyyLZhrw46sVoyOAdWRXI41xzWNc rXCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Sr1cvS6Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dj16si10194685edb.143.2021.03.22.04.13.36; Mon, 22 Mar 2021 04:13:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Sr1cvS6Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S230136AbhCVLMS (ORCPT + 99 others); Mon, 22 Mar 2021 07:12:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:34738 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229949AbhCVLLx (ORCPT ); Mon, 22 Mar 2021 07:11:53 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8C3326192E; Mon, 22 Mar 2021 11:11:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1616411513; bh=0CN0X34xkIfwT4nyg0xZ77hwCD6IbLh1oX9HfmB0giY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Sr1cvS6ZEd8qQWkOHNT+0H/fM1D/RwxUR2H4SFMhsuWTEzbP3a7/ZYh7X/XUwZrd0 Izw5ViLWfVpwKsdWUgpqmFelpFm15jo8gAsjQW9bZ1qMVncn0QOhXfi4uXQpuNHOIO TIg3RzO9zH6FK0Gg0Aml2zEXZBHLzzxGxsF9mY5Y= Date: Mon, 22 Mar 2021 12:11:50 +0100 From: Greg KH To: Eli Billauer Cc: devel@driverdev.osuosl.org, dan.carpenter@oracle.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, arnd@arndb.de Subject: Re: [PATCH v4 1/2] char: xillybus: Move class-related functions to new xillybus_class.c Message-ID: References: <20210311095033.20956-1-eli.billauer@gmail.com> <20210311095033.20956-2-eli.billauer@gmail.com> <6058792C.90801@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6058792C.90801@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 22, 2021 at 01:02:04PM +0200, Eli Billauer wrote: > On 21/03/21 14:24, Greg KH wrote: > > > +config XILLYBUS_CLASS > > > > + tristate > > > > + > > > > config XILLYBUS > > > > tristate "Xillybus generic FPGA interface" > > > > depends on PCI || OF > > > > select CRC32 > > > > + select XILLYBUS_CLASS > > depends on, do not select. > > > XILLYBUS and XILLYBUS_PCIE are currently enabled as M in several Linux > distributions. Making them depend on, rather than select XILLYBUS_CLASS is > likely to disable the driver in those distributions. That's not an issue here, depends-on will allow those distros to also enable this option. But wait, why is this a separate option at all? Shouldn't the class code just be part of the "core" XILLYBUS code anyway? thanks, greg k-h