From patchwork Tue Dec 17 19:42:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 22613 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 92E5223FBC for ; Tue, 17 Dec 2013 19:42:54 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id wo20sf23487720obc.9 for ; Tue, 17 Dec 2013 11:42:53 -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=hn+TiXggzRmzvDQEeJLtWeTu+0q5Vz0TosDelHwXzwSP03nTLTvHBVj3atVPLXEFAD v3qYfsZnv6kdf79RUFtHN7NkuOLtn2ZR2g4yRPVR/5p563IW0TR8xNxEZX60fn55zLRj 7mWVf0sSYWJJmaeEkp4ETpotjd8b5DLB4xv97G3XCb6KVnG5i6aNJA6CYBAcrK/PdM4W FwgO8HDg/DqS+1evDE0N6UQHMYxlOOlsg2fYWtXz0Vejt91JHJpfTXYm/ULL52o5cRjs GbSjl06bgcLT4F9U2nZjC2/ACdaOfqVI2/uyENHWOSl4LqJ++MSNTBNLtDE7iPbz5W6g z8uw== X-Gm-Message-State: ALoCoQlml0zGZ+ajX6SsgUD8D7wA8SlQSt2Yr1I2X/cOPbV8WQK5D00nnOAzE8+q+E65mMX30Xhc X-Received: by 10.182.22.133 with SMTP id d5mr9284405obf.27.1387309373644; Tue, 17 Dec 2013 11:42:53 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.128.200 with SMTP id nq8ls2668185qeb.95.gmail; Tue, 17 Dec 2013 11:42:53 -0800 (PST) X-Received: by 10.220.186.68 with SMTP id cr4mr1281042vcb.55.1387309373510; Tue, 17 Dec 2013 11:42:53 -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 xt2si5149112vcb.33.2013.12.17.11.42.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 17 Dec 2013 11:42:53 -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 pa12so4635989veb.16 for ; Tue, 17 Dec 2013 11:42:53 -0800 (PST) X-Received: by 10.221.3.200 with SMTP id nz8mr77171vcb.67.1387309373425; Tue, 17 Dec 2013 11:42:53 -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 ey3csp191020ved; Tue, 17 Dec 2013 11:42:52 -0800 (PST) X-Received: by 10.50.176.201 with SMTP id ck9mr4786944igc.46.1387309372272; Tue, 17 Dec 2013 11:42:52 -0800 (PST) Received: from mail-ie0-f171.google.com (mail-ie0-f171.google.com [209.85.223.171]) by mx.google.com with ESMTPS id zb5si18441497icb.9.2013.12.17.11.42.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 17 Dec 2013 11:42:52 -0800 (PST) Received-SPF: neutral (google.com: 209.85.223.171 is neither permitted nor denied by best guess record for domain of mporter@linaro.org) client-ip=209.85.223.171; Received: by mail-ie0-f171.google.com with SMTP id ar20so9072422iec.30 for ; Tue, 17 Dec 2013 11:42:52 -0800 (PST) X-Received: by 10.50.41.106 with SMTP id e10mr4864694igl.34.1387309372034; Tue, 17 Dec 2013 11:42:52 -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 v2sm23254399igz.3.2013.12.17.11.42.48 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 17 Dec 2013 11:42:49 -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 v7 3/9] usb: gadget: s3c-hsotg: enable build for other platforms Date: Tue, 17 Dec 2013 14:42:30 -0500 Message-Id: <1387309356-17195-4-git-send-email-mporter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1387309356-17195-1-git-send-email-mporter@linaro.org> References: <1387309356-17195-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..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[] = {