From patchwork Thu Dec 12 11:18:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 22272 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f70.google.com (mail-qe0-f70.google.com [209.85.128.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4437E23FC9 for ; Thu, 12 Dec 2013 11:18:57 +0000 (UTC) Received: by mail-qe0-f70.google.com with SMTP id 6sf475719qea.5 for ; Thu, 12 Dec 2013 03:18:56 -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=Q6y6bprrywl5usK2/7R936MPlI930rhwGgZn16auqtM=; b=gmyAR7Cm80x6LW0FH96ZRngCpBarQq/rg0QRVmtEzds4nwtuXSSy1yH81EEeSKsBGh 9zNCjss1buEl3E5CCFJt8DfwgrPciRBTm/FUJfg7GgTjOdZ6zadbPdEhJfRZBwh9cvjO 5moD7ojBZtceZij25dygTpgUECjd492rqAYkg/q0WAbGxTUHNDhuDW1lULvcCLoCCZyl cnPP4WxgjToz3iLgtupcSSx1wtOtCM3gebkS4BX0cGlvgfl7907xbKbBp00xTDRWeCQT WR3bKeH8BFoY/55ASwSOwiBvts2HRw+tk85hq84VgEpUxK8g2frz1ppPafYxoqOyz6X9 VIMQ== X-Gm-Message-State: ALoCoQlxBGz8msa2AnjAWAQb7RULDqW2QNZ5Daq040yVuq6nYbW/3pxyMIIbbuU21QUlPRiEzqE1 X-Received: by 10.58.112.195 with SMTP id is3mr2713159veb.29.1386847136623; Thu, 12 Dec 2013 03:18:56 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.119.196 with SMTP id kw4ls465042qeb.90.gmail; Thu, 12 Dec 2013 03:18:56 -0800 (PST) X-Received: by 10.52.50.177 with SMTP id d17mr2720148vdo.23.1386847136464; Thu, 12 Dec 2013 03:18:56 -0800 (PST) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id er6si7559881vdc.153.2013.12.12.03.18.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 03:18:56 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.175 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.175; Received: by mail-ve0-f175.google.com with SMTP id jx11so175796veb.34 for ; Thu, 12 Dec 2013 03:18:56 -0800 (PST) X-Received: by 10.220.95.139 with SMTP id d11mr3304428vcn.21.1386847136333; Thu, 12 Dec 2013 03:18:56 -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 u4csp345867vcz; Thu, 12 Dec 2013 03:18:55 -0800 (PST) X-Received: by 10.50.115.35 with SMTP id jl3mr8199281igb.37.1386847135696; Thu, 12 Dec 2013 03:18:55 -0800 (PST) Received: from mail-ie0-f179.google.com (mail-ie0-f179.google.com [209.85.223.179]) by mx.google.com with ESMTPS id 9si23776446icd.132.2013.12.12.03.18.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 03:18:55 -0800 (PST) Received-SPF: neutral (google.com: 209.85.223.179 is neither permitted nor denied by best guess record for domain of mporter@linaro.org) client-ip=209.85.223.179; Received: by mail-ie0-f179.google.com with SMTP id x13so322044ief.38 for ; Thu, 12 Dec 2013 03:18:55 -0800 (PST) X-Received: by 10.42.39.142 with SMTP id h14mr5625370ice.40.1386847135390; Thu, 12 Dec 2013 03:18:55 -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 u1sm14511537ige.1.2013.12.12.03.18.53 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 03:18:54 -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 , Linux USB List , Linux ARM Kernel List , Linux Kernel Mailing List , Devicetree List , Linaro Patches Subject: [PATCH v4 3/9] usb: gadget: s3c-hsotg: enable build for other platforms Date: Thu, 12 Dec 2013 06:18:31 -0500 Message-Id: <1386847117-21240-4-git-send-email-mporter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1386847117-21240-1-git-send-email-mporter@linaro.org> References: <1386847117-21240-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.175 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..970bd1a 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 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 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[] = {