From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751897Ab1JKXsz (ORCPT ); Tue, 11 Oct 2011 19:48:55 -0400 Received: from smtp-outbound-2.vmware.com ([65.115.85.73]:9931 "EHLO smtp-outbound-2.vmware.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750919Ab1JKXsx (ORCPT ); Tue, 11 Oct 2011 19:48:53 -0400 Date: Tue, 11 Oct 2011 16:48:53 -0700 (PDT) From: Andrei Warkentin To: NamJae Jeon Cc: linux-next@vger.kernel.org, LKML , linux-mmc@vger.kernel.org, Chris Ball , Stephen Rothwell , Randy Dunlap Message-ID: <1484494934.58546.1318376933037.JavaMail.root@zimbra-prod-mbox-2.vmware.com> In-Reply-To: Subject: Re: mmc core broken dependency on CONFIG_BLOCK (Was: linux-next: Tree for Oct 11 (mmc)) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.113.61.163] X-Mailer: Zimbra 7.1.1_GA_3225 (ZimbraWebClient - FF3.0 (Linux)/7.1.1_GA_3225) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- Original Message ----- > From: "NamJae Jeon" > To: "Randy Dunlap" , "Andrei Warkentin" > Cc: linux-next@vger.kernel.org, "LKML" , linux-mmc@vger.kernel.org, "Chris Ball" > , "Stephen Rothwell" > Sent: Tuesday, October 11, 2011 7:20:48 PM > Subject: Re: mmc core broken dependency on CONFIG_BLOCK (Was: linux-next: Tree for Oct 11 (mmc)) > > Hi Randy, Andrei. > > I suggest third option for this. > As you know, MMC like ATA Driver and SCSI Driver etc.. can not enable > without CONFIG_BLOCK > So I think that mmc should be depended from CONFIG_BLOCK like other > block device driver. > see the their Kconfig. How do you think ? MMC core doesn't not imply MMC_BLOCK. You could well use SDIO devices via MMC without any flash storage whatsoever. What I want to say is that MMC_BLOCK already depends on BLOCK. MMC, however, has no such functional dependence, as it just (effectively) provides bus and device enumeration. So I think the better solution is wrapping all MMC partition code within mmc/core/mmc.c and card.h with CONFIG_BLOCK. A