|
@@ -912,6 +912,7 @@ static void sierra_release(struct usb_serial *serial)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#ifdef CONFIG_PM
|
|
static void stop_read_write_urbs(struct usb_serial *serial)
|
|
static void stop_read_write_urbs(struct usb_serial *serial)
|
|
{
|
|
{
|
|
int i, j;
|
|
int i, j;
|
|
@@ -988,6 +989,10 @@ static int sierra_resume(struct usb_serial *serial)
|
|
|
|
|
|
return ec ? -EIO : 0;
|
|
return ec ? -EIO : 0;
|
|
}
|
|
}
|
|
|
|
+#else
|
|
|
|
+#define sierra_suspend NULL
|
|
|
|
+#define sierra_resume NULL
|
|
|
|
+#endif
|
|
|
|
|
|
static struct usb_serial_driver sierra_device = {
|
|
static struct usb_serial_driver sierra_device = {
|
|
.driver = {
|
|
.driver = {
|