From patchwork Thu Dec 19 14:23: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: 22632 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f199.google.com (mail-ve0-f199.google.com [209.85.128.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 86B8223FCA for ; Thu, 19 Dec 2013 14:23:29 +0000 (UTC) Received: by mail-ve0-f199.google.com with SMTP id c14sf1353033vea.2 for ; Thu, 19 Dec 2013 06:23: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=bNAKMblRMKDiKllF/ehSSd8LxpOKVBYnSqKUg2p4Qio=; b=PwcdaOj8fqKQ5hSzmNyMcuPwlyjxvVP230lR6keO4Q7w9Js/ydeMe2E7n+kl4nuFHu HRT/M7CRmZFyw3QKhZogv1WGWF2s60IxupgeOt0mwoPWjlI6mtlxwzbvs7A5uBfIdHyP skF9Ql3Dyx1tLENkBu4RxwHz0rhO/TabdRrTxLXrk7jv3nDrtIVq+10RK9ETgV88+gG1 /6ckQ03c2eh6mH866DCuZsOhj765S0K+VJ516Zfc62oj/iZfPqXQwptDIa2WCjFJEK90 O/CJWoX0BOMN2GbqIBYiNt13NKsTHZLHcj+e8fNpHzg8QiMNxhIYwXOG2pmnFY8Oyvpc e6cQ== X-Gm-Message-State: ALoCoQl0auHBVJWQIm8ndd8DF7lMnVlnyHgNLGlLR6TlmQRoiHJbROI+B9PY5t+rtPS2n0B3qmPH X-Received: by 10.58.117.98 with SMTP id kd2mr862181veb.21.1387463008406; Thu, 19 Dec 2013 06:23:28 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.12.241 with SMTP id b17ls394475qec.11.gmail; Thu, 19 Dec 2013 06:23:28 -0800 (PST) X-Received: by 10.58.248.198 with SMTP id yo6mr40507vec.40.1387463008132; Thu, 19 Dec 2013 06:23:28 -0800 (PST) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by mx.google.com with ESMTPS id tl2si718190vdc.155.2013.12.19.06.23.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Dec 2013 06:23:28 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.177 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.177; Received: by mail-ve0-f177.google.com with SMTP id db12so672735veb.22 for ; Thu, 19 Dec 2013 06:23:28 -0800 (PST) X-Received: by 10.52.36.80 with SMTP id o16mr2460vdj.48.1387463008039; Thu, 19 Dec 2013 06:23: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.59.13.131 with SMTP id ey3csp323634ved; Thu, 19 Dec 2013 06:23:27 -0800 (PST) X-Received: by 10.43.103.5 with SMTP id dg5mr1237277icc.50.1387463006931; Thu, 19 Dec 2013 06:23:26 -0800 (PST) Received: from mail-ig0-f169.google.com (mail-ig0-f169.google.com [209.85.213.169]) by mx.google.com with ESMTPS id gd6si5955171igd.72.2013.12.19.06.23.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Dec 2013 06:23:26 -0800 (PST) Received-SPF: neutral (google.com: 209.85.213.169 is neither permitted nor denied by best guess record for domain of mporter@linaro.org) client-ip=209.85.213.169; Received: by mail-ig0-f169.google.com with SMTP id hk11so12030994igb.0 for ; Thu, 19 Dec 2013 06:23:26 -0800 (PST) X-Received: by 10.50.82.41 with SMTP id f9mr2414703igy.26.1387463006606; Thu, 19 Dec 2013 06:23:26 -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 l7sm5656642igx.2.2013.12.19.06.23.24 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Dec 2013 06:23:25 -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 , Dinh Nguyen , Russell King , Linux USB List , Linux ARM Kernel List , Linux Kernel Mailing List , Devicetree List , Linaro Patches Subject: [PATCH v8 3/9] usb: gadget: s3c-hsotg: enable build for other platforms Date: Thu, 19 Dec 2013 09:23:04 -0500 Message-Id: <1387462990-12039-4-git-send-email-mporter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1387462990-12039-1-git-send-email-mporter@linaro.org> References: <1387462990-12039-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.177 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..181e760 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 many SoCs. 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 9875d9c..db797f2 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[] = {