mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-01 06:34:04 +02:00
80be62eefc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15536 3c298f89-4303-0410-b956-a3cf2f4a3e73
17 lines
519 B
Diff
17 lines
519 B
Diff
Fixes compile error when CONFIG_PM=n is set
|
|
|
|
--- a/drivers/net/wireless/p54/p54usb.c
|
|
+++ b/drivers/net/wireless/p54/p54usb.c
|
|
@@ -919,9 +919,11 @@ static int __devinit p54u_probe(struct u
|
|
priv->common.open = p54u_open;
|
|
priv->common.stop = p54u_stop;
|
|
if (recognized_pipes < P54U_PIPE_NUMBER) {
|
|
+#ifdef CONFIG_PM
|
|
/* ISL3887 needs a full reset on resume */
|
|
udev->reset_resume = 1;
|
|
err = p54u_device_reset(dev);
|
|
+#endif
|
|
|
|
priv->hw_type = P54U_3887;
|
|
dev->extra_tx_headroom += sizeof(struct lm87_tx_hdr);
|