From patchwork Mon Feb 21 13:25:02 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 577531 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 p1LDPFj5024205 for ; Mon, 21 Feb 2011 13:25:16 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755910Ab1BUNZH (ORCPT ); Mon, 21 Feb 2011 08:25:07 -0500 Received: from na3sys009aog107.obsmtp.com ([74.125.149.197]:46469 "EHLO na3sys009aog107.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755526Ab1BUNZG (ORCPT ); Mon, 21 Feb 2011 08:25:06 -0500 Received: from source ([209.85.214.41]) (using TLSv1) by na3sys009aob107.postini.com ([74.125.148.12]) with SMTP ID DSNKTWJnsfkXMpm6dX9ZtfzZdSYSL4CxGx1q@postini.com; Mon, 21 Feb 2011 05:25:05 PST Received: by mail-bw0-f41.google.com with SMTP id 17so1518672bwz.28 for ; Mon, 21 Feb 2011 05:25:04 -0800 (PST) Received: by 10.204.99.73 with SMTP id t9mr1340485bkn.34.1298294704723; Mon, 21 Feb 2011 05:25:04 -0800 (PST) Received: from localhost (cs181221087.pp.htv.fi [82.181.221.87]) by mx.google.com with ESMTPS id z18sm3712646bkf.8.2011.02.21.05.25.03 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 21 Feb 2011 05:25:04 -0800 (PST) Date: Mon, 21 Feb 2011 15:25:02 +0200 From: Felipe Balbi To: Michael Jones Cc: balbi@ti.com, linux-omap@vger.kernel.org Subject: Re: double_buffer_not_ok compile error Message-ID: <20110221132438.GD23087@legolas.emea.dhcp.ti.com> Reply-To: balbi@ti.com References: <4D6261C8.1090605@matrix-vision.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4D6261C8.1090605@matrix-vision.de> User-Agent: Mutt/1.5.20 (2009-06-14) 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.6 (demeter1.kernel.org [140.211.167.41]); Mon, 21 Feb 2011 13:25:16 +0000 (UTC) diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h index d74a811..e6400be 100644 --- a/drivers/usb/musb/musb_core.h +++ b/drivers/usb/musb/musb_core.h @@ -488,6 +488,15 @@ struct musb { unsigned set_address:1; unsigned test_mode:1; unsigned softconnect:1; + + u8 address; + u8 test_mode_nr; + u16 ackpend; /* ep0 */ + enum musb_g_ep0_state ep0_state; + struct usb_gadget g; /* the gadget */ + struct usb_gadget_driver *gadget_driver; /* its driver */ +#endif + /* * FIXME: Remove this flag. * @@ -501,14 +510,6 @@ struct musb { */ unsigned double_buffer_not_ok:1 __deprecated; - u8 address; - u8 test_mode_nr; - u16 ackpend; /* ep0 */ - enum musb_g_ep0_state ep0_state; - struct usb_gadget g; /* the gadget */ - struct usb_gadget_driver *gadget_driver; /* its driver */ -#endif - struct musb_hdrc_config *config; #ifdef MUSB_CONFIG_PROC_FS