From patchwork Fri Nov 1 19:45:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 21308 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f72.google.com (mail-pb0-f72.google.com [209.85.160.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3971323908 for ; Fri, 1 Nov 2013 19:46:20 +0000 (UTC) Received: by mail-pb0-f72.google.com with SMTP id jt11sf7981750pbb.3 for ; Fri, 01 Nov 2013 12:46:19 -0700 (PDT) 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=oocBOHOd4LVNgMZbYMfmwl38mJBxqvS2VSFsKMskkhY=; b=F+4ZuAnfIkjenCFeNKN4gec4w33dJ2Ln8eG59ZA5JTWK1EJaC72NFwshciYCk0dt7C k2LG60Sq3VkfkAR6iFsDLJMWkhDEZ5t1Qp/7PbF/wvs26VvluFe2SHjYyiOAxE2HKjAG sBEocHLfXWEkctPOU6FVvfIWhT5UzfD1Hz3mWbyrjzLTqDtljPJ8k3UAETkb93xBbYra tKQiuu4KAH08DFsUH5QI5vZd/MzftYEZDacuWlLpRd5LtsQn2/LQKffvPn7iHAcfWyz2 zRoJ8ZFdd4JrVp2GSm061VMQgNzxBxCh86EiQ9IGG6GNjKV1dVKaNumdGpS484p2ezWz gaTA== X-Gm-Message-State: ALoCoQkMglBW13mqDoReCAqeKsmsTttXgfGNC/RYif1K8pR3sI8clxWl8FTL0YaS3CRy0+V00o0K X-Received: by 10.66.172.79 with SMTP id ba15mr1480763pac.26.1383335179569; Fri, 01 Nov 2013 12:46:19 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.6.228 with SMTP id e4ls1483375qea.94.gmail; Fri, 01 Nov 2013 12:46:19 -0700 (PDT) X-Received: by 10.58.156.106 with SMTP id wd10mr3122167veb.7.1383335179413; Fri, 01 Nov 2013 12:46:19 -0700 (PDT) Received: from mail-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171]) by mx.google.com with ESMTPS id vh9si2372204vcb.100.2013.11.01.12.46.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 01 Nov 2013 12:46:19 -0700 (PDT) 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 pa12so3477564veb.30 for ; Fri, 01 Nov 2013 12:46:19 -0700 (PDT) X-Received: by 10.220.209.202 with SMTP id gh10mr429634vcb.50.1383335179087; Fri, 01 Nov 2013 12:46:19 -0700 (PDT) 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 u4csp66762vcz; Fri, 1 Nov 2013 12:46:18 -0700 (PDT) X-Received: by 10.42.227.72 with SMTP id iz8mr2981345icb.27.1383335178446; Fri, 01 Nov 2013 12:46:18 -0700 (PDT) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx.google.com with ESMTPS id hg13si2458841igb.52.2013.11.01.12.46.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 01 Nov 2013 12:46:18 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.223.182 is neither permitted nor denied by best guess record for domain of matt.porter@linaro.org) client-ip=209.85.223.182; Received: by mail-ie0-f182.google.com with SMTP id as1so8215447iec.41 for ; Fri, 01 Nov 2013 12:46:18 -0700 (PDT) X-Received: by 10.42.156.73 with SMTP id y9mr109317icw.77.1383335178146; Fri, 01 Nov 2013 12:46:18 -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 f5sm5616338igc.4.2013.11.01.12.46.16 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 01 Nov 2013 12:46:17 -0700 (PDT) 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: Linux USB List , Linux ARM Kernel List , Linux Kernel Mailing List , Devicetree List , Linaro Patches Subject: [PATCH v2 3/9] usb: gadget: s3c-hsotg: enable build for other platforms Date: Fri, 1 Nov 2013 15:45:52 -0400 Message-Id: <1383335158-19730-4-git-send-email-matt.porter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1383335158-19730-1-git-send-email-matt.porter@linaro.org> References: <1383335158-19730-1-git-send-email-matt.porter@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: matt.porter@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 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 a8a99e4..258bc73 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[] = {