Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932930Ab0GOJi6 (ORCPT ); Thu, 15 Jul 2010 05:38:58 -0400 Received: from mail-vw0-f46.google.com ([209.85.212.46]:34321 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932909Ab0GOJi5 convert rfc822-to-8bit (ORCPT ); Thu, 15 Jul 2010 05:38:57 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=gUPuEEDDA8Cu5+Xfe3+GrxmOGeqy8qfxG7myObIIW1E3oQuZvKBOSX+4PqVkeK6bya xH6DzAsGz2K2iQPmtSTEPF5fyu9mS+tnYCyuhJATevi2tV82pFVe6xH0a8tbKEqNIPIq MPTtt/XOGWjYc6QYvCrPsPdhytXyrC7QRtLkM= MIME-Version: 1.0 In-Reply-To: References: From: Eric Miao Date: Thu, 15 Jul 2010 17:38:36 +0800 Message-ID: Subject: Re: [PATCH 2/3] usb/{gadget,host}: Remove dead CONFIG_CPU_PXA27x To: Christian Dietrich Cc: Russell King , David Brownell , Greg Kroah-Hartman , Robert Jarzmik , H Hartley Sweeten , =?UTF-8?Q?Andr=C3=A9_Goddard_Rosa?= , Tejun Heo , Andrew Morton , Mike Rapoport , Alexey Dobriyan , linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, vamos-dev@i4.informatik.uni-erlangen.de Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2334 Lines: 61 On Wed, Jul 14, 2010 at 8:30 PM, Eric Miao wrote: > On Wed, Jul 14, 2010 at 7:32 PM, Christian Dietrich > wrote: >> CONFIG_CPU_PXA27x doesn't exist in Kconfig, therefore removing all >> references for it from the source code. >> >> Signed-off-by: Christian Dietrich >> --- >>  drivers/usb/gadget/pxa27x_udc.c |   16 ---------------- >>  drivers/usb/host/ohci-pxa27x.c  |    8 -------- >>  2 files changed, 0 insertions(+), 24 deletions(-) >> >> diff --git a/drivers/usb/gadget/pxa27x_udc.c b/drivers/usb/gadget/pxa27x_udc.c >> index 85b0d89..73783f5 100644 >> --- a/drivers/usb/gadget/pxa27x_udc.c >> +++ b/drivers/usb/gadget/pxa27x_udc.c >> @@ -2561,12 +2561,6 @@ static void pxa_udc_shutdown(struct platform_device *_dev) >>                udc_disable(udc); >>  } >> >> -#ifdef CONFIG_CPU_PXA27x > > This should be CONFIG_PXA27x, I'll prepare a patch on this. > [ARM] pxa: fix incorrect CONFIG_CPU_PXA27x to CONFIG_PXA27x Reported-by: Christian Dietrich Signed-off-by: Eric Miao diff --git a/drivers/usb/gadget/pxa27x_udc.c b/drivers/usb/gadget/pxa27x_udc.c index 85b0d89..9807624 100644 --- a/drivers/usb/gadget/pxa27x_udc.c +++ b/drivers/usb/gadget/pxa27x_udc.c @@ -2561,7 +2561,7 @@ static void pxa_udc_shutdown(struct platform_device *_dev) udc_disable(udc); } -#ifdef CONFIG_CPU_PXA27x +#ifdef CONFIG_PXA27x extern void pxa27x_clear_otgph(void); #else #define pxa27x_clear_otgph() do {} while (0) diff --git a/drivers/usb/host/ohci-pxa27x.c b/drivers/usb/host/ohci-pxa27x.c index a18debd..4181638 100644 --- a/drivers/usb/host/ohci-pxa27x.c +++ b/drivers/usb/host/ohci-pxa27x.c @@ -203,7 +203,7 @@ static inline void pxa27x_reset_hc(struct pxa27x_ohci *ohci) __raw_writel(uhchr & ~UHCHR_FHR, ohci->mmio_base + UHCHR); } -#ifdef CONFIG_CPU_PXA27x +#ifdef CONFIG_PXA27x extern void pxa27x_clear_otgph(void); #else #define pxa27x_clear_otgph() do {} while (0) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/