From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wu Zhangjin Subject: Re: [PATCH v8 1/8] MIPS: add subdirectory for platform extension drivers Date: Tue, 08 Dec 2009 15:37:45 +0800 Message-ID: <1260257865.3315.79.camel@falcon.domain.org> References: Reply-To: wuzhangjin@gmail.com Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:organization:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=zTQnfOkxKLvLw/fgTG23uX1WjT7TuwX2YfPtEY/ywsE=; b=Sqz0fcMSFFcDIgfozQy/+UtcbOuhzryIjN9aWPwmWof0pbnEO0PCWvm2KSJiFg6tYU MciRmTwigL+Y3TARDjPEtKvy0XhRN1rok0ot3dU6fQCOCn7bwMtbAK5rKBi0PzbuWYvK KK2kfPX3rIWowxIqEk64dNkbAWTZXunD80occ= In-Reply-To: Sender: linux-laptop-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Ralf Baechle Cc: akpm@linux-foundation.org, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, Dmitry Torokhov , "Rafael J . Wysocki" , zhangfx@lemote.com, linux-laptop@vger.kernel.org, Stephen Rothwell , Pavel Machek Hi, Ralf I plan to send a new revision of this patchset, Can I get your Acked-by: for patch 1-3/8? Thanks! Wu Zhangjin On Sun, 2009-12-06 at 15:01 +0800, Wu Zhangjin wrote: > From: Wu Zhangjin > > It is really hard to split the platform specific subdrivers into > different subsystems, which will generate lots of duplicated source > code, break the whole support into several pieces and also will make the > users be difficult to choose the suitable subdrivers in different > places. > > So, I did like the forks have done under drivers/platform/x86, created > the drivers/platform/mips/ for putting the future MIPS netbook/laptop/pc > extension drivers in. > > Signed-off-by: Wu Zhangjin > --- > drivers/platform/Kconfig | 4 ++++ > drivers/platform/mips/Kconfig | 18 ++++++++++++++++++ > 2 files changed, 22 insertions(+), 0 deletions(-) > create mode 100644 drivers/platform/mips/Kconfig > > diff --git a/drivers/platform/Kconfig b/drivers/platform/Kconfig > index 9652c3f..2319c0b 100644 > --- a/drivers/platform/Kconfig > +++ b/drivers/platform/Kconfig > @@ -3,3 +3,7 @@ > if X86 > source "drivers/platform/x86/Kconfig" > endif > + > +if MIPS > +source "drivers/platform/mips/Kconfig" > +endif > diff --git a/drivers/platform/mips/Kconfig b/drivers/platform/mips/Kconfig > new file mode 100644 > index 0000000..2f77693 > --- /dev/null > +++ b/drivers/platform/mips/Kconfig > @@ -0,0 +1,18 @@ > +# > +# MIPS Platform Specific Drivers > +# > + > +menuconfig MIPS_PLATFORM_DEVICES > + bool "MIPS Platform Specific Device Drivers" > + default y > + help > + Say Y here to get to see options for device drivers of various > + MIPS platforms, including vendor-specific netbook/laptop/pc extension > + drivers. This option alone does not add any kernel code. > + > + If you say N, all options in this submenu will be skipped and disabled. > + > +if MIPS_PLATFORM_DEVICES > + > + > +endif # MIPS_PLATFORM_DEVICES