Re: [PATCH 4/4] i2400m/usb: wrap USB power saving in #ifdefCONFIG_PM

From: David Miller
Date: Thu Jan 08 2009 - 14:08:51 EST


From: Inaky Perez-Gonzalez <inaky@xxxxxxxxxxxxxxx>
Date: Wed, 7 Jan 2009 11:22:22 -0800

> Current code was assuming PM was always enabled, which is not
> correct. Code which accesses members in the struct usb_device that are
> dependant on CONFIG_PM must be protected the same.
>
> Reported by Randy Dunlap from a build error in the linux-next tree on
> 07/01/2009.
>
> Signed-off-by: Inaky Perez-Gonzalez <inaky@xxxxxxxxxxxxxxx>

Also applied, thanks a lot.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/