From patchwork Wed Jul 16 17:41:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 33749 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f71.google.com (mail-pa0-f71.google.com [209.85.220.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 156D6201F1 for ; Wed, 16 Jul 2014 17:41:46 +0000 (UTC) Received: by mail-pa0-f71.google.com with SMTP id et14sf8760427pad.2 for ; Wed, 16 Jul 2014 10:41:45 -0700 (PDT) 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 :in-reply-to:references: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=l2d+t92NxI5fkSyyAzWwZVSE5x/oy+1e3OPZ3XYDuRM=; b=iy7LJ+gipQR39CdXOXA3opFqokUkiM3h+RekGCKYeZfEzMvQJ7zs8VrbgNL+iNrQbP 05U31YfrDO2f3a/nSdHUqTmGoFe4XuRmYQcU4Glf+Fwq5TGgmaeHtDfR7o47Td3QGI3H Y8pj+uFI2JuXhX3cCYBlHtdvIzh7GcItPhNbrLIjXi17iC/diVIHoedmwVu1RFcDOlcI dUhCJPexorn0NTaS5dzKYBS86dvH8YzJrZViIRYIan+7xYhRrKl4gDbHRcE4poTqMeAQ 7NiiJcH1uM1FlPyu3AZXdZlLQzvbmjvjuBuR1DA4uDLlKSz3tKSzcDTcJbfVt5Mw9Fhq 005w== X-Gm-Message-State: ALoCoQlNYbhy1GMiAj+Bu1UT7Y20QArhGdlNG85Gk0M3j0+30utDIHZ5n5g+m7CCHWyxb2mYuG4h X-Received: by 10.68.189.73 with SMTP id gg9mr12480472pbc.4.1405532505413; Wed, 16 Jul 2014 10:41:45 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.29.55 with SMTP id a52ls459875qga.14.gmail; Wed, 16 Jul 2014 10:41:45 -0700 (PDT) X-Received: by 10.52.119.179 with SMTP id kv19mr26481861vdb.3.1405532505294; Wed, 16 Jul 2014 10:41:45 -0700 (PDT) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id yy2si1603919vdc.48.2014.07.16.10.41.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 16 Jul 2014 10:41:45 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.176 as permitted sender) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id ik5so2317884vcb.7 for ; Wed, 16 Jul 2014 10:41:45 -0700 (PDT) X-Received: by 10.220.118.136 with SMTP id v8mr6220712vcq.50.1405532505106; Wed, 16 Jul 2014 10:41:45 -0700 (PDT) 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.221.37.5 with SMTP id tc5csp317820vcb; Wed, 16 Jul 2014 10:41:44 -0700 (PDT) X-Received: by 10.70.108.164 with SMTP id hl4mr31499412pdb.64.1405532504281; Wed, 16 Jul 2014 10:41:44 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pb2si5206972pac.28.2014.07.16.10.41.44; Wed, 16 Jul 2014 10:41:44 -0700 (PDT) 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 S964978AbaGPRlm (ORCPT + 3 others); Wed, 16 Jul 2014 13:41:42 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:33865 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934642AbaGPRll (ORCPT ); Wed, 16 Jul 2014 13:41:41 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s6GHfejt012334 for ; Wed, 16 Jul 2014 12:41:40 -0500 Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s6GHfeAj002529 for ; Wed, 16 Jul 2014 12:41:40 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.174.1; Wed, 16 Jul 2014 12:41:40 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s6GHfdbQ013123; Wed, 16 Jul 2014 12:41:40 -0500 From: Felipe Balbi To: Linux USB Mailing List CC: Felipe Balbi Subject: [PATCH 3/3] usb: gadget: udc: fsl_mxc_udc: fix sparse error Date: Wed, 16 Jul 2014 12:41:30 -0500 Message-ID: <1405532490-12625-3-git-send-email-balbi@ti.com> X-Mailer: git-send-email 2.0.1.563.g66f467c In-Reply-To: <1405532490-12625-1-git-send-email-balbi@ti.com> References: <1405532490-12625-1-git-send-email-balbi@ti.com> 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.220.176 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: , No functional changes, just fixing one easy to spot sparse error. While fixing that sparse error, I had to add two includes to a header to avoid a build error. Signed-off-by: Felipe Balbi --- drivers/usb/gadget/udc/fsl_mxc_udc.c | 2 ++ drivers/usb/gadget/udc/fsl_usb2_udc.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/drivers/usb/gadget/udc/fsl_mxc_udc.c b/drivers/usb/gadget/udc/fsl_mxc_udc.c index 9b140fc..f16e149 100644 --- a/drivers/usb/gadget/udc/fsl_mxc_udc.c +++ b/drivers/usb/gadget/udc/fsl_mxc_udc.c @@ -18,6 +18,8 @@ #include #include +#include "fsl_usb2_udc.h" + static struct clk *mxc_ahb_clk; static struct clk *mxc_per_clk; static struct clk *mxc_ipg_clk; diff --git a/drivers/usb/gadget/udc/fsl_usb2_udc.h b/drivers/usb/gadget/udc/fsl_usb2_udc.h index c6703bb..8471562 100644 --- a/drivers/usb/gadget/udc/fsl_usb2_udc.h +++ b/drivers/usb/gadget/udc/fsl_usb2_udc.h @@ -12,6 +12,9 @@ #ifndef __FSL_USB2_UDC_H #define __FSL_USB2_UDC_H +#include +#include + /* ### define USB registers here */ #define USB_MAX_CTRL_PAYLOAD 64