From patchwork Mon Oct 7 10:12:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 2995421 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 541D6BF924 for ; Mon, 7 Oct 2013 10:13:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3B3E6201CB for ; Mon, 7 Oct 2013 10:13:51 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CDC58201C7 for ; Mon, 7 Oct 2013 10:13:49 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VT7oa-0000IN-Fi; Mon, 07 Oct 2013 10:13:24 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VT7oT-0007Ms-Vy; Mon, 07 Oct 2013 10:13:17 +0000 Received: from mail-ie0-f180.google.com ([209.85.223.180]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VT7oE-0007JH-Go for linux-arm-kernel@lists.infradead.org; Mon, 07 Oct 2013 10:13:03 +0000 Received: by mail-ie0-f180.google.com with SMTP id u16so14574081iet.25 for ; Mon, 07 Oct 2013 03:12:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=KvSNOTKM3/6Ku4Ppk+1AtOA93L1DIkNRNnGXqv9yz5c=; b=jjbJdn99SP2yYxoEf3TgU4QRBIrtmykqj3mRo3L9Cuf80juSndYxk1NqoeCm1DAhEU ZBCGOa9NK6DkvWhG6VGd8gPljGHVAXLzhrGiva+X9fXD6y0a6mxtIokLqwsP+JV6rkO1 OELMQ/BrAnda6QvAj8EsplVtaJZ9lg+q5ogfish0RDqM8AdOEcaSdfnwVep9e2OGNgnl n9C5ldPbl+IP5QkUtwm8YPTE2iXqJfQJgh6oybRCFcSrS59cSlVmXH9AKjSm19ohGXan LUCgxDxl9s3TTwiuJQ2kzdUT8mVeLuzQrfhYku8BJXaCChJ4Doa16Dh1hqKx4By9KOKy LxMQ== X-Gm-Message-State: ALoCoQmomUYNIESTNfX3QJ+/AykQeC0wsaWYU77MTLA4nWn6GdsLD5UIfJNlOxVBatY8SMN5ftp3 X-Received: by 10.50.45.34 with SMTP id j2mr16462871igm.13.1381140761098; Mon, 07 Oct 2013 03:12:41 -0700 (PDT) Received: from beef.ohporter.com (cpe-98-27-254-98.neo.res.rr.com. [98.27.254.98]) by mx.google.com with ESMTPSA id y10sm22710942igl.4.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Oct 2013 03:12:40 -0700 (PDT) From: Matt Porter To: Felipe Balbi , Greg Kroah-Hartman , Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Christian Daudt Subject: [PATCH 1/5] usb: gadget: s3c-hsotg: enable build for other platforms Date: Mon, 7 Oct 2013 06:12:28 -0400 Message-Id: <1381140752-312-2-git-send-email-matt.porter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1381140752-312-1-git-send-email-matt.porter@linaro.org> References: <1381140752-312-1-git-send-email-matt.porter@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131007_061302_593352_1F9638D6 X-CRM114-Status: GOOD ( 11.97 ) X-Spam-Score: -2.6 (--) Cc: Devicetree List , Linaro Patches , Linux USB List , Linux Kernel Mailing List , Paul Zimmerman , Linux ARM Kernel List X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove unused Samsung-specific machine include and Kconfig dependency on S3C. Signed-off-by: Matt Porter Reviewed-by: Markus Mayer Reviewed-by: Tim Kryger --- drivers/usb/gadget/Kconfig | 7 +++---- drivers/usb/gadget/s3c-hsotg.c | 2 -- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 48cddf3..2e69fa0 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -280,11 +280,10 @@ config USB_PXA27X gadget drivers to also be dynamically linked. config USB_S3C_HSOTG - tristate "S3C HS/OtG USB Device controller" - depends on S3C_DEV_USB_HSOTG + tristate "Designware/S3C HS/OtG USB Device controller" help - The Samsung S3C64XX USB2.0 high-speed gadget controller - integrated into the S3C64XX series SoC. + The Designware USB2.0 high-speed gadget controller + integrated into the S3C64XX and BCM281xx series SoC. config USB_S3C2410 tristate "S3C2410 USB Device Controller" diff --git a/drivers/usb/gadget/s3c-hsotg.c b/drivers/usb/gadget/s3c-hsotg.c index 6bddf1a..34d80f3 100644 --- a/drivers/usb/gadget/s3c-hsotg.c +++ b/drivers/usb/gadget/s3c-hsotg.c @@ -36,8 +36,6 @@ #include #include -#include - #include "s3c-hsotg.h" static const char * const s3c_hsotg_supply_names[] = {