From patchwork Mon Jul 5 09:12:01 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 110197 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o659FiXp024271 for ; Mon, 5 Jul 2010 09:15:44 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756427Ab0GEJPk (ORCPT ); Mon, 5 Jul 2010 05:15:40 -0400 Received: from smtp.nokia.com ([192.100.105.134]:54221 "EHLO mgw-mx09.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752081Ab0GEJPk (ORCPT ); Mon, 5 Jul 2010 05:15:40 -0400 Received: from vaebh106.NOE.Nokia.com (vaebh106.europe.nokia.com [10.160.244.32]) by mgw-mx09.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o659FU1n016691; Mon, 5 Jul 2010 04:15:34 -0500 Received: from esebh102.NOE.Nokia.com ([172.21.138.183]) by vaebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 5 Jul 2010 12:15:05 +0300 Received: from mgw-da02.ext.nokia.com ([147.243.128.26]) by esebh102.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 5 Jul 2010 12:15:04 +0300 Received: from scadufax.research.nokia.com (esdhcp041223.research.nokia.com [172.21.41.223]) by mgw-da02.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o659ExSm023547; Mon, 5 Jul 2010 12:15:00 +0300 From: felipe.balbi@nokia.com To: Greg KH Cc: Linux USB Mailing List , Linux OMAP Mailing List , Tony Lindgren , Felipe Balbi Subject: [PATCH] usb: musb: tusb6010: fix compile error with n8x0_defconfig Date: Mon, 5 Jul 2010 12:12:01 +0300 Message-Id: <1278321121-13474-1-git-send-email-felipe.balbi@nokia.com> X-Mailer: git-send-email 1.7.1 X-OriginalArrivalTime: 05 Jul 2010 09:15:05.0005 (UTC) FILETIME=[8E2E35D0:01CB1C22] X-Nokia-AV: Clean 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 (demeter.kernel.org [140.211.167.41]); Mon, 05 Jul 2010 09:15:45 +0000 (UTC) diff --git a/drivers/usb/musb/tusb6010.c b/drivers/usb/musb/tusb6010.c index 05c077f..3c48e77 100644 --- a/drivers/usb/musb/tusb6010.c +++ b/drivers/usb/musb/tusb6010.c @@ -29,19 +29,6 @@ static void tusb_source_power(struct musb *musb, int is_on); #define TUSB_REV_MAJOR(reg_val) ((reg_val >> 4) & 0xf) #define TUSB_REV_MINOR(reg_val) (reg_val & 0xf) -#ifdef CONFIG_PM -/* REVISIT: These should be only needed if somebody implements off idle */ -void musb_platform_save_context(struct musb *musb, - struct musb_context_registers *musb_context) -{ -} - -void musb_platform_restore_context(struct musb *musb, - struct musb_context_registers *musb_context) -{ -} -#endif - /* * Checks the revision. We need to use the DMA register as 3.0 does not * have correct versions for TUSB_PRCM_REV or TUSB_INT_CTRL_REV.