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: 20846 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f70.google.com (mail-qa0-f70.google.com [209.85.216.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EBF2224697 for ; Mon, 7 Oct 2013 10:12:42 +0000 (UTC) Received: by mail-qa0-f70.google.com with SMTP id i13sf8684300qae.5 for ; Mon, 07 Oct 2013 03:12:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state: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=KvSNOTKM3/6Ku4Ppk+1AtOA93L1DIkNRNnGXqv9yz5c=; b=Vo8xUPRhCuEiojWVErG3i0qVI3fL6mvY2WW9hyUCVBHd/6lxEajxhizx4NDNaauGIU 7Izj8yVGwwPm5hprdeyve4BQ/md5lNptXmWhkdnrTWjFKt29C6qbyYgx+igo3vsHl5gM qmg7jM1nmwch79Lmu4EMpkxkeUjw6ekJWkjFOgx+JmmJluE6jI1ytCEv0Opg4VOljwv9 BiLzA8utP9HO2+5QKeFi6Oa3m7Fiq4h5MXMiKNnUufya/AC4D1DbNceVyq+tB9r2Jg9Q ANMv0own7tF1VDj3boga+KlTkpP97Ty2b5l3rOsEYq8OPuBWoY+4qkObyMX4BMLKzQa8 5BDg== X-Received: by 10.236.20.114 with SMTP id o78mr24714707yho.8.1381140762804; Mon, 07 Oct 2013 03:12:42 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.28.10 with SMTP id x10ls2352715qeg.20.gmail; Mon, 07 Oct 2013 03:12:42 -0700 (PDT) X-Received: by 10.58.108.74 with SMTP id hi10mr26569232veb.14.1381140762678; Mon, 07 Oct 2013 03:12:42 -0700 (PDT) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id o5si7596404vdw.50.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Oct 2013 03:12:42 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.173 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.173; Received: by mail-ve0-f173.google.com with SMTP id cz12so3552276veb.18 for ; Mon, 07 Oct 2013 03:12:42 -0700 (PDT) X-Gm-Message-State: ALoCoQnJ5paAZ+8xjpQ8c1DQFjLgj8nCy1+8SeiJNfFr5Er7oV+bx9l5jyu35aMNaAs8nEwoD5vL X-Received: by 10.52.230.102 with SMTP id sx6mr21666334vdc.15.1381140762506; Mon, 07 Oct 2013 03:12:42 -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 u4csp113273vcz; Mon, 7 Oct 2013 03:12:41 -0700 (PDT) X-Received: by 10.43.60.139 with SMTP id ws11mr17008662icb.12.1381140761725; Mon, 07 Oct 2013 03:12:41 -0700 (PDT) Received: from mail-ie0-f171.google.com (mail-ie0-f171.google.com [209.85.223.171]) by mx.google.com with ESMTPS id il3si28926660icb.53.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Oct 2013 03:12:41 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.223.171 is neither permitted nor denied by best guess record for domain of matt.porter@linaro.org) client-ip=209.85.223.171; Received: by mail-ie0-f171.google.com with SMTP id at1so14956186iec.2 for ; Mon, 07 Oct 2013 03:12:41 -0700 (PDT) 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 Cc: Paul Zimmerman , Linux USB List , Linux ARM Kernel List , Linux Kernel Mailing List , Devicetree List , Linaro Patches 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-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.173 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 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[] = {