From patchwork Fri Sep 24 03:14:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 12513925 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46441C433F5 for ; Fri, 24 Sep 2021 03:16:57 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0FAC860F44 for ; Fri, 24 Sep 2021 03:16:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0FAC860F44 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=UfyY+H6ka/pocS/2umcZSf3e0wagwGWUlnsV2xMuqQ8=; b=xvYSRbvJV26CYH mHmEP4E7r/duVmo5ZvAZ/qvz8diPYyKteg8mQ4krBYc5UrWRGuwCvfz44fwdqI/TvTeV1VsK9T3hf r9YAL1cXzSXiizf4dhzYOizz6IYO8h+bH1BtF06S2ugQN9QqZfmmQCmY2MVv4pLrn4ArMKC5RSMVl Jvyfg4ZNNTF00qnt4y/1108rSiKqJzcKE8PgX9ho9zyNaY5UYk0pJHlYmaTNp8Mm0nyiTUzrbK0su Lna8N0RHSjSiGfN3ESQG2/xIQYoBWgTIHkIniDQsT0AQ/cL2fx8NPJiRCWtISYzmlDfXcaF16PnkB KLaFyxqukNWB435QItyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTbg8-00Cya9-J7; Fri, 24 Sep 2021 03:15:12 +0000 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTbg4-00CyZ0-5k for linux-arm-kernel@lists.infradead.org; Fri, 24 Sep 2021 03:15:09 +0000 Received: by mail-pj1-x1034.google.com with SMTP id g13-20020a17090a3c8d00b00196286963b9so8589673pjc.3 for ; Thu, 23 Sep 2021 20:15:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=H6fS1DVa+oGMJZcW6Uz3T+yOtBK6Lvc/2ZNbTXLJgz0=; b=Ze6NHDvtiRMdTKWjXCMz1w+dhfGXV7s3sIb6YWRzKHHMVBFKMxLvhu0oRSnrykO9gk fO6B9nuhnAXlw6X7vm0UDNaBPfaie06CFbVgUCimbrGf1+1mrMBPVOGxCKJ8afV3728Q hkXPwP5Q3i+iYfo9Um8aio0JP1Iox+3Fe3wMEhltStefR1T/Et6IMOY4fECVcbNIrgkt l4h4JBHJnuiMnvafyJwqFg7FTcUjZnHtsfP4fr3NaXX5C3TFu5TPvtUAVnuhPmBqxjV3 9+PYzaXN299ceGHb1EM3ohy2QKqf40RDoWE9DsktqVPUC+WsobzU+6qIxCI+gjgtJ0y8 ka8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=H6fS1DVa+oGMJZcW6Uz3T+yOtBK6Lvc/2ZNbTXLJgz0=; b=RweSLio76rtuHRfYEd1h1yS+gqGwYNAWjmuzoZj/vvgYRclpgdNaFPeVGGopWnq3Wx 9qbMsrpbSUidIdW8hIyJW/4F9VPWX4Wm2d8La8nVm28cKqFUOqVwT2X7MV9AUfu1um6N jj+4IULvQKIsXAm5wkPpMLbaFEQjabbSbjqekLrZUNjQp1T3QIz3OSzEVvWAYZIV95Ib /2unV/4oWJkyWE8YXduELQCBu0e+t24syvQsZEcaGui5wfawdW9Jagdr9ogDqv42bS2P ARmAMsRgZn6kjpLWhgSrRaN1KZ0AG3AoYa9qkEJJIdBLqZ/aYgH0NuEjary0E4xa/DK0 C2eA== X-Gm-Message-State: AOAM532qseMCXsuiu+1+2U/9C/zTHX9+7e7zOdlOEkbAJhykp70vp7Tm 5CLHnFogJU/nq6sYrF1l2xA= X-Google-Smtp-Source: ABdhPJyHOt5JYruQ/YJX8Dtw9HlMFSAo6RvNET7t4nd72ymNfrnwu5HAEeBvzhiLwGchfZuPAfnDmQ== X-Received: by 2002:a17:90b:3890:: with SMTP id mu16mr22224281pjb.78.1632453306979; Thu, 23 Sep 2021 20:15:06 -0700 (PDT) Received: from 7YHHR73.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id gp11sm9880532pjb.2.2021.09.23.20.15.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Sep 2021 20:15:06 -0700 (PDT) From: Florian Fainelli To: linux-kernel@vger.kernel.org Cc: Florian Fainelli , Markus Mayer , bcm-kernel-feedback-list@broadcom.com (maintainer:BROADCOM STB DPFE DRIVER), Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM STB DPFE DRIVER) Subject: [PATCH] memory: Allow building Broadcom STB DPFE as module Date: Thu, 23 Sep 2021 20:14:59 -0700 Message-Id: <20210924031459.8911-1-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210923_201508_293763_83353AF7 X-CRM114-Status: GOOD ( 12.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Allow building the Broadcom STB DPFE driver as a module, it is already a platform driver proper with all of the resource releasing device managed. Signed-off-by: Florian Fainelli Acked-by: Markus Mayer --- drivers/memory/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig index 72c0df129d5c..0ebb83b35a64 100644 --- a/drivers/memory/Kconfig +++ b/drivers/memory/Kconfig @@ -55,8 +55,8 @@ config ATMEL_EBI SRAMs, ATA devices, etc. config BRCMSTB_DPFE - bool "Broadcom STB DPFE driver" if COMPILE_TEST - default y if ARCH_BRCMSTB + tristate "Broadcom STB DPFE driver" + default ARCH_BRCMSTB depends on ARCH_BRCMSTB || COMPILE_TEST help This driver provides access to the DPFE interface of Broadcom