[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130826160627.GA11307@roeck-us.net>
Date: Mon, 26 Aug 2013 09:06:27 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Alan Stern <stern@...land.harvard.edu>,
Meelis Roos <mroos@...ux.ee>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Steve Cotton <steve@...otton.clara.co.uk>,
USB list <linux-usb@...r.kernel.org>
Subject: Re: [PATCH] USB: OHCI: fix build error related to ohci_suspend/resume
On Mon, Aug 26, 2013 at 08:38:40AM -0700, Greg Kroah-Hartman wrote:
> 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 <stern@...land.harvard.edu>
> >
> > ---
>
> Guenter and Meelis, does the patch below fix the problem for you?
>
Tested-by: Guenter Roeck <linux@...ck-us.net>
Previously failing builds:
mips:ath79_defconfig
powerpc:ppc64e_defconfig
powerpc:cell_defconfig
powerpc:maple_defconfig
parisc:defconfig
tile:defconfig
sparc32:defconfig
sparc64:defconfig
as well as the powerpc qemu test (with the config file used
by the yocto project)
All builds pass with the patch applied, as does the qemu test.
Guenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists