From patchwork Fri Dec 13 16:51:17 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 22333 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f197.google.com (mail-qc0-f197.google.com [209.85.216.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B197C202E2 for ; Fri, 13 Dec 2013 16:51:41 +0000 (UTC) Received: by mail-qc0-f197.google.com with SMTP id r5sf3698500qcx.4 for ; Fri, 13 Dec 2013 08:51:41 -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=ctkDkiRCvLQ85dMdIP+VsgeOyPIlI8Zzl3W2zAT0eJw=; b=IWoCanywIfwI6FcoSVwC1ghJDZHtDs+J0gMCgXGFxRNRobCxMMtlKGYtEwHXi+YWUh Fq82fgQYlH2o6b0cc7bAeqjPFmNFMCEYLL4RimSVB1FdzPl3PO1ZT+FbtEV8RkhYzVEu phmqmMg0MJcbRNS9oF+ssCI3wU7ENISSj58PyPdnr67jcIW2h9S8SL3eKR9c8iV0D6ti mulV6Ymu8v0hUk5n83UGtsm5o48zLdqeqWUKGN2cFW6oezcuL+MK/sGJFbNvm1sKDx4B c5UuvKWJF+d8OhPem3HTaz/7ZsRu+x1ZEK+lJ/oIjpugtzjmLOzcxcnxRAG62fhi0BlI A/Lw== X-Gm-Message-State: ALoCoQl2MmE5CRbbD4ha4FUbmSF8ZP0+7RBadh8BEccUlKFmf6qirYJQIpZ9QFm59Kv2r9oJHJ+0 X-Received: by 10.58.134.110 with SMTP id pj14mr1204561veb.14.1386953501608; Fri, 13 Dec 2013 08:51:41 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.131.162 with SMTP id on2ls1075909qeb.73.gmail; Fri, 13 Dec 2013 08:51:41 -0800 (PST) X-Received: by 10.58.252.167 with SMTP id zt7mr1213124vec.60.1386953501467; Fri, 13 Dec 2013 08:51:41 -0800 (PST) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id y9si944411vcn.3.2013.12.13.08.51.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Dec 2013 08:51:41 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.181 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.181; Received: by mail-ve0-f181.google.com with SMTP id oy12so1548774veb.40 for ; Fri, 13 Dec 2013 08:51:41 -0800 (PST) X-Received: by 10.220.200.65 with SMTP id ev1mr1641748vcb.13.1386953501382; Fri, 13 Dec 2013 08:51:41 -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 u4csp51924vcz; Fri, 13 Dec 2013 08:51:40 -0800 (PST) X-Received: by 10.50.109.132 with SMTP id hs4mr4216473igb.34.1386953500629; Fri, 13 Dec 2013 08:51:40 -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 o10si3067510igk.33.2013.12.13.08.51.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Dec 2013 08:51:40 -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 at1so3068157iec.5 for ; Fri, 13 Dec 2013 08:51:40 -0800 (PST) X-Received: by 10.43.151.12 with SMTP id kq12mr2624671icc.55.1386953500383; Fri, 13 Dec 2013 08:51:40 -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 hv5sm5155766igb.9.2013.12.13.08.51.38 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Dec 2013 08:51:39 -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 v6 3/9] usb: gadget: s3c-hsotg: enable build for other platforms Date: Fri, 13 Dec 2013 11:51:17 -0500 Message-Id: <1386953483-21631-4-git-send-email-mporter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1386953483-21631-1-git-send-email-mporter@linaro.org> References: <1386953483-21631-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.181 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 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[] = {