From patchwork Thu Apr 10 19:21:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 338257 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 2E09C140088 for ; Fri, 11 Apr 2014 05:23:59 +1000 (EST) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WYKYa-0003rv-7y; Thu, 10 Apr 2014 19:22:40 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WYKYD-0004Xu-2y; Thu, 10 Apr 2014 19:22:17 +0000 Received: from bombadil.infradead.org ([2001:1868:205::9]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WYKXo-0004Ui-U0 for linux-mtd@merlin.infradead.org; Thu, 10 Apr 2014 19:21:53 +0000 Received: from mail-ie0-x230.google.com ([2607:f8b0:4001:c03::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WYKXo-0005vc-14 for linux-mtd@lists.infradead.org; Thu, 10 Apr 2014 19:21:52 +0000 Received: by mail-ie0-f176.google.com with SMTP id rd18so4254469iec.7 for ; Thu, 10 Apr 2014 12:21:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=EbtaoE9OwVfaR+9oWKHbs5eqq+1jwvSsp4Mep93+gns=; b=z2/8xJjImvRW1wdRoI2U0lPL0Q2a0o6CzgR9gwbRK4q40/SoCnahX2bYAmA7ZJs6OI HJMtAxfqOcuYrMSSOcsUImjdBfmrCwqj56RCHJcbqVC0s09c0bBA6KKZRZ3xFimjcnxF X4JcPLCS17/34MiAY9iQAAzrha2UuUxjT5vexnpPQmHWsM0zxBD8c5+BIGXwJulX/9AO e4ndBeqhwQaNCS7TyFp490Q3tbV/NC1uxiei5KGr4cC5w1dVVZXGFet4fcHeBJFj/K9g 8xQ63LHJJU47jWt7NuZ6jPhCfeiQXaMrLRpEZQgstlqUEiBjP/YaZp16emDj4gzfi7Br UlfQ== X-Received: by 10.50.143.104 with SMTP id sd8mr18971848igb.18.1397157691090; Thu, 10 Apr 2014 12:21:31 -0700 (PDT) Received: from ld-irv-0074.broadcom.com (5520-maca-inet1-outside.broadcom.com. [216.31.211.11]) by mx.google.com with ESMTPSA id kb5sm15449694igb.1.2014.04.10.12.21.29 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 10 Apr 2014 12:21:30 -0700 (PDT) From: Brian Norris To: Subject: [PATCH v2 10/10] mtd: spi-nor: allow to be built as module Date: Thu, 10 Apr 2014 12:21:04 -0700 Message-Id: <1397157664-24405-11-git-send-email-computersforpeace@gmail.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1397157664-24405-1-git-send-email-computersforpeace@gmail.com> References: <1397157664-24405-1-git-send-email-computersforpeace@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140410_122152_101250_7871B1EF X-CRM114-Status: GOOD ( 10.72 ) X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.3.2 on bombadil.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (computersforpeace[at]gmail.com) 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain Cc: Marek Vasut , Huang Shijie , Brian Norris , Lee Jones X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org There's no reason this can't be a module. Also, give SPI-NOR its own submenu. Signed-off-by: Brian Norris --- drivers/mtd/spi-nor/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig index d682fb440e06..f8acfa4310ef 100644 --- a/drivers/mtd/spi-nor/Kconfig +++ b/drivers/mtd/spi-nor/Kconfig @@ -1,5 +1,5 @@ -config MTD_SPI_NOR - bool "SPI-NOR device support" +menuconfig MTD_SPI_NOR + tristate "SPI-NOR device support" depends on MTD help This is the framework for the SPI NOR which can be used by the SPI