From patchwork Mon Nov 25 18:16:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 21750 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f200.google.com (mail-ie0-f200.google.com [209.85.223.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CFC6E20299 for ; Mon, 25 Nov 2013 18:16:21 +0000 (UTC) Received: by mail-ie0-f200.google.com with SMTP id at1sf15311179iec.3 for ; Mon, 25 Nov 2013 10:16:21 -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=2Axhq7s7HP8Fk5MKLygjndlN+/Lq7B6rBqHSodwO2DA=; b=GDSZlUPdd+PsuD3iD80Rad8ovJcs/MoXt3Z7kF9IR6aqBgZMtL6elG0XRgPlD7ZVhA HXUxCpmjILSLcEm1EkCMxaaR1G+xX46PcMp+R1grzx4qXJJqbCQKwBO41G09AcM+J9Xv gYETS1SThuQ1tHesd/bibmPg7I7qswdHMu0INmN8kOYsfwosOSJIFUnIl94beZFsLmxD qzZd0fpiyZKzNPi/QZqkHlT6+Khur7aNN2XyVxzY89kjx7EYRAzlckrCxogRzZ9JLueb 2PySSaUo4WmAuX8EVQ4lqYBeqfbgcyH3AG/AS6PkPPxK4VqNxUOQHqtSpYe2qUf5KqP1 bDAQ== X-Gm-Message-State: ALoCoQn7r8s7h7iDXXfRzknwibDFuztq3aIBe8wpeHhuG/YAi3lnCC+bPHfDSi/JhPub2A+NP8db X-Received: by 10.42.112.138 with SMTP id y10mr974157icp.28.1385403381351; Mon, 25 Nov 2013 10:16:21 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.41.42 with SMTP id c10ls1336715qel.10.gmail; Mon, 25 Nov 2013 10:16:21 -0800 (PST) X-Received: by 10.52.52.137 with SMTP id t9mr10252319vdo.22.1385403381204; Mon, 25 Nov 2013 10:16:21 -0800 (PST) Received: from mail-ve0-f169.google.com (mail-ve0-f169.google.com [209.85.128.169]) by mx.google.com with ESMTPS id lw10si18215898vec.43.2013.11.25.10.16.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Nov 2013 10:16:21 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.169 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.169; Received: by mail-ve0-f169.google.com with SMTP id c14so3289618vea.0 for ; Mon, 25 Nov 2013 10:16:21 -0800 (PST) X-Received: by 10.52.36.103 with SMTP id p7mr2240352vdj.28.1385403381109; Mon, 25 Nov 2013 10:16:21 -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 u4csp152989vcz; Mon, 25 Nov 2013 10:16:20 -0800 (PST) X-Received: by 10.50.131.163 with SMTP id on3mr13782800igb.46.1385403380380; Mon, 25 Nov 2013 10:16:20 -0800 (PST) Received: from mail-ie0-f169.google.com (mail-ie0-f169.google.com [209.85.223.169]) by mx.google.com with ESMTPS id qb5si19655207igc.7.2013.11.25.10.16.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Nov 2013 10:16:20 -0800 (PST) Received-SPF: neutral (google.com: 209.85.223.169 is neither permitted nor denied by best guess record for domain of matt.porter@linaro.org) client-ip=209.85.223.169; Received: by mail-ie0-f169.google.com with SMTP id e14so7729519iej.0 for ; Mon, 25 Nov 2013 10:16:20 -0800 (PST) X-Received: by 10.50.25.227 with SMTP id f3mr13935521igg.21.1385403380111; Mon, 25 Nov 2013 10:16:20 -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 j16sm26901318igf.6.2013.11.25.10.16.18 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Nov 2013 10:16:19 -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 v3 3/9] usb: gadget: s3c-hsotg: enable build for other platforms Date: Mon, 25 Nov 2013 13:16:01 -0500 Message-Id: <1385403367-18144-4-git-send-email-matt.porter@linaro.org> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1385403367-18144-1-git-send-email-matt.porter@linaro.org> References: <1385403367-18144-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.169 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 2d1f560..a8e6c3d 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[] = {