Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752421Ab3HZPgZ (ORCPT ); Mon, 26 Aug 2013 11:36:25 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:56046 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752006Ab3HZPgY (ORCPT ); Mon, 26 Aug 2013 11:36:24 -0400 Date: Mon, 26 Aug 2013 08:38:40 -0700 From: Greg Kroah-Hartman To: Alan Stern Cc: Guenter Roeck , Meelis Roos , "linux-kernel@vger.kernel.org" , Linus Torvalds , Steve Cotton , USB list Subject: Re: [PATCH] USB: OHCI: fix build error related to ohci_suspend/resume Message-ID: <20130826153840.GA29862@kroah.com> References: <20130826042653.GA2778@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 787 Lines: 23 On Mon, Aug 26, 2013 at 10:53:53AM -0400, Alan Stern wrote: > Commit 9a11899c5e69 (USB: OHCI: add missing PCI PM callbacks to > ohci-pci.c) added missing ohci_suspend and ohci_resume callback > pointers, but forgot that these callbacks are declared and defined > only when CONFIG_PM is enabled. > > This patch adds a preprocessor conditional to avoid build errors when > PM is disabled. > > Signed-off-by: Alan Stern > > --- Guenter and Meelis, does the patch below fix the problem for you? thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/