From patchwork Thu Dec 12 13:26:04 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 22283 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f199.google.com (mail-ig0-f199.google.com [209.85.213.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0F77C23FC9 for ; Thu, 12 Dec 2013 13:26:29 +0000 (UTC) Received: by mail-ig0-f199.google.com with SMTP id hk11sf2581252igb.2 for ; Thu, 12 Dec 2013 05:26:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=Q6y6bprrywl5usK2/7R936MPlI930rhwGgZn16auqtM=; b=PK2olPwDkib9ZVfXCVnqBAVRRBizRHQFC7BZ1B0KQN6rgDCDzgmp6s2cAuU8b8olTS TpPRT6eCbkAuGhLwQBcAaEQCFe4mXGAh08N5sH9g7JcnV60FLFM4Fry+PI3B7oppxAmm p4sYucn+qV36/4FXM1UMF3c9m0TjJwL3jn9XU8Wc5+aJQfD+dXxDHz4VBF6dZovsbQC+ ko7dMXx5tgCvnndf7Ygjke4vTpfBkXRTUJ8PICghPF0GcCqIgj+4s3rbc3Xbp8umBku4 36vfLLnxjvLO0DPGqijnoLhZthmC8vhwwiFE7DiahyPsMWb6fDjCxCNcA21EdcA3M1uR EGEQ== X-Gm-Message-State: ALoCoQknf7c4zxKMQy6aKg8K6M9YOx59UwP65zEcz7vx4iyZP6Nf5KjfMivo+LB0fEY6h1b2FFuH X-Received: by 10.182.60.37 with SMTP id e5mr2851460obr.30.1386854788725; Thu, 12 Dec 2013 05:26:28 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.47.9 with SMTP id z9ls473374qem.79.gmail; Thu, 12 Dec 2013 05:26:28 -0800 (PST) X-Received: by 10.52.50.177 with SMTP id d17mr3154575vdo.23.1386854788628; Thu, 12 Dec 2013 05:26:28 -0800 (PST) Received: from mail-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171]) by mx.google.com with ESMTPS id lw10si7716676vec.43.2013.12.12.05.26.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 05:26:28 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.171; Received: by mail-ve0-f171.google.com with SMTP id pa12so279422veb.2 for ; Thu, 12 Dec 2013 05:26:28 -0800 (PST) X-Received: by 10.58.208.130 with SMTP id me2mr3861475vec.13.1386854788464; Thu, 12 Dec 2013 05:26:28 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp354242vcz; Thu, 12 Dec 2013 05:26:27 -0800 (PST) X-Received: by 10.42.46.80 with SMTP id j16mr227981icf.94.1386854787613; Thu, 12 Dec 2013 05:26:27 -0800 (PST) Received: from mail-ie0-f174.google.com (mail-ie0-f174.google.com [209.85.223.174]) by mx.google.com with ESMTPS id dj10si2432874icc.94.2013.12.12.05.26.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 05:26:27 -0800 (PST) Received-SPF: neutral (google.com: 209.85.223.174 is neither permitted nor denied by best guess record for domain of mporter@linaro.org) client-ip=209.85.223.174; Received: by mail-ie0-f174.google.com with SMTP id at1so532416iec.19 for ; Thu, 12 Dec 2013 05:26:24 -0800 (PST) X-Received: by 10.50.23.103 with SMTP id l7mr30653249igf.3.1386854784401; Thu, 12 Dec 2013 05:26:24 -0800 (PST) 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 l7sm14983106igx.2.2013.12.12.05.26.22 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 05:26:23 -0800 (PST) From: Matt Porter To: Felipe Balbi , Greg Kroah-Hartman , Kishon Vijay Abraham I , Rob Herring , Pawel Moll , Mark Rutland , Kumar Gala , Ian Campbell , Christian Daudt , Paul Zimmerman Cc: Tomasz Figa , Kamil Debski , Kyungmin Park , Russell King , Linux USB List , Linux ARM Kernel List , Linux Kernel Mailing List , Devicetree List , Linaro Patches Subject: [PATCH v5 3/9] usb: gadget: s3c-hsotg: enable build for other platforms Date: Thu, 12 Dec 2013 08:26:04 -0500 Message-Id: <1386854770-2173-4-git-send-email-mporter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1386854770-2173-1-git-send-email-mporter@linaro.org> References: <1386854770-2173-1-git-send-email-mporter@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mporter@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 a91e642..970bd1a 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -294,11 +294,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 33eb690..8ceb5ef 100644 --- a/drivers/usb/gadget/s3c-hsotg.c +++ b/drivers/usb/gadget/s3c-hsotg.c @@ -37,8 +37,6 @@ #include #include -#include - #include "s3c-hsotg.h" static const char * const s3c_hsotg_supply_names[] = {