From patchwork Mon Oct 4 20:49:53 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Munegowda, Keshava" X-Patchwork-Id: 231491 X-Patchwork-Delegate: me@felipebalbi.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o958mlV7004715 for ; Tue, 5 Oct 2010 08:48:47 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757997Ab0JEIsd (ORCPT ); Tue, 5 Oct 2010 04:48:33 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:37532 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753317Ab0JEIsb (ORCPT ); Tue, 5 Oct 2010 04:48:31 -0400 Received: from dlep34.itg.ti.com ([157.170.170.115]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id o958mVUQ000419 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 Oct 2010 03:48:31 -0500 Received: from legion.dal.design.ti.com (localhost [127.0.0.1]) by dlep34.itg.ti.com (8.13.7/8.13.7) with ESMTP id o958mSPa004332; Tue, 5 Oct 2010 03:48:28 -0500 (CDT) Received: from localhost (a0393220-desktop.apr.dhcp.ti.com [172.24.137.68]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id o958mQf01128; Tue, 5 Oct 2010 03:48:26 -0500 (CDT) From: Keshava Munegowda To: linux-usb@vger.kernel.org, linux-omap@vger.kernel.org Cc: gadiyar@ti.com, nskamat@ti.com, balbi@ti.com, Keshava Munegowda Subject: [PATCH] usb: omap: fix the warning return type defaults to 'int' Date: Tue, 5 Oct 2010 02:19:53 +0530 Message-Id: <1286225393-22472-1-git-send-email-keshava_mgowda@ti.com> X-Mailer: git-send-email 1.6.0.4 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 05 Oct 2010 08:48:47 +0000 (UTC) Index: linux-2.6/arch/arm/plat-omap/include/plat/usb.h =================================================================== --- linux-2.6.orig/arch/arm/plat-omap/include/plat/usb.h +++ linux-2.6/arch/arm/plat-omap/include/plat/usb.h @@ -105,7 +105,7 @@ static inline void omap1_usb_init(struct #if defined(CONFIG_ARCH_OMAP_OTG) || defined(CONFIG_ARCH_OMAP_OTG_MODULE) void omap2_usbfs_init(struct omap_usb_config *pdata); #else -static inline omap2_usbfs_init(struct omap_usb_config *pdata) +static inline void omap2_usbfs_init(struct omap_usb_config *pdata) { } #endif