From patchwork Fri Nov 7 15:09:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 40427 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f69.google.com (mail-ee0-f69.google.com [74.125.83.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 10EB220D85 for ; Fri, 7 Nov 2014 15:08:52 +0000 (UTC) Received: by mail-ee0-f69.google.com with SMTP id c41sf3484470eek.4 for ; Fri, 07 Nov 2014 07:08:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe:content-type; bh=KJCYv3qMZEq63h2Q5j9y6UyK3pzYOye/jAYPbHmxzzw=; b=SPUlZYofp5CfnphBo/6VLVycjp6pDVXMHUbpk7SV1DPXthydewEZb8+K8uF8Hce0x4 2NuYm4/nL7IHKlhvoGVziFgJExOqXlpBqEtkd8QCLB0a2RBsZJohKIB17O93ELLWHkqv wihud3/5ZMAnREHFwiGMYRVsqezMs6Iw2ddfKbDP/NNPsuY7cxgJxfIrM3xkAvOhWQ6t SNAg7CATjlMhhDWcjWOFwqqno1DWqUzytmEHs6+XO+lVSTt6DIgZZYCR22CmxJHJGFEU Ll5VCwe60cIt5f7cFbwGn4VCG6ZCRz6Pnzs20g+uMjcrqHjKqLBaW99JH5ZYhAogs0Ts 1oRQ== X-Gm-Message-State: ALoCoQmBBOB0zEcDYZYksc7pkRhXaZ19V4P1GdlWNG2taWkjOLGlE0AO6B0PBSur9e+cx81U1Vc0 X-Received: by 10.112.119.194 with SMTP id kw2mr156065lbb.16.1415372931241; Fri, 07 Nov 2014 07:08:51 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.43.129 with SMTP id w1ls209464lal.34.gmail; Fri, 07 Nov 2014 07:08:50 -0800 (PST) X-Received: by 10.152.87.171 with SMTP id az11mr11496583lab.37.1415372930664; Fri, 07 Nov 2014 07:08:50 -0800 (PST) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id xt9si12806899lbb.11.2014.11.07.07.08.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Nov 2014 07:08:50 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by mail-la0-f44.google.com with SMTP id gf13so4640151lab.3 for ; Fri, 07 Nov 2014 07:08:50 -0800 (PST) X-Received: by 10.112.52.37 with SMTP id q5mr11728746lbo.32.1415372930522; Fri, 07 Nov 2014 07:08:50 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp213932lbc; Fri, 7 Nov 2014 07:08:49 -0800 (PST) X-Received: by 10.70.102.234 with SMTP id fr10mr12618766pdb.145.1415372928766; Fri, 07 Nov 2014 07:08:48 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id so2si9279250pab.132.2014.11.07.07.08.47 for ; Fri, 07 Nov 2014 07:08:48 -0800 (PST) Received-SPF: none (google.com: linux-usb-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751141AbaKGPIq (ORCPT + 3 others); Fri, 7 Nov 2014 10:08:46 -0500 Received: from comal.ext.ti.com ([198.47.26.152]:57897 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750919AbaKGPIp (ORCPT ); Fri, 7 Nov 2014 10:08:45 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id sA7F8h5Q020254; Fri, 7 Nov 2014 09:08:43 -0600 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id sA7F8h8n028782; Fri, 7 Nov 2014 09:08:43 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.174.1; Fri, 7 Nov 2014 09:08:42 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id sA7F8gBd014295; Fri, 7 Nov 2014 09:08:42 -0600 From: Felipe Balbi To: Linux USB Mailing List CC: Felipe Balbi , Kishon Vijay Abraham I , Antoine Tenart Subject: [PATCH] phy: twl4030: Fix build breakage Date: Fri, 7 Nov 2014 09:09:14 -0600 Message-ID: <1415372954-15627-1-git-send-email-balbi@ti.com> X-Mailer: git-send-email 2.1.0.GIT MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: balbi@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , commit e47d925 (usb: move the OTG state from the USB PHY to the OTG structure) moved the OTG state field from struct usb_phy to struct usb_otg but, even though I fixed many other build breakages, I still missed one on phy-twl4030-usb.c. Fix the build breakage now. Cc: Kishon Vijay Abraham I Cc: Antoine Tenart Signed-off-by: Felipe Balbi --- drivers/phy/phy-twl4030-usb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/phy/phy-twl4030-usb.c b/drivers/phy/phy-twl4030-usb.c index 7b04bef..109ac5a 100644 --- a/drivers/phy/phy-twl4030-usb.c +++ b/drivers/phy/phy-twl4030-usb.c @@ -606,7 +606,7 @@ static int twl4030_set_peripheral(struct usb_otg *otg, otg->gadget = gadget; if (!gadget) - otg->phy->state = OTG_STATE_UNDEFINED; + otg->phy->otg->state = OTG_STATE_UNDEFINED; return 0; } @@ -618,7 +618,7 @@ static int twl4030_set_host(struct usb_otg *otg, struct usb_bus *host) otg->host = host; if (!host) - otg->phy->state = OTG_STATE_UNDEFINED; + otg->phy->otg->state = OTG_STATE_UNDEFINED; return 0; }