summaryrefslogtreecommitdiff
path: root/patches/0051-no-wakeup_path/ssb.patch
blob: dcebbcdf2a82b31b4f30ccdf22bc762e4815eb90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/drivers/ssb/pcihost_wrapper.c
+++ b/drivers/ssb/pcihost_wrapper.c
@@ -33,7 +33,9 @@ static int ssb_pcihost_suspend(struct de
 
 	/* if there is a wakeup enabled child device on ssb bus,
 	   enable pci wakeup posibility. */
+#if LINUX_VERSION_IS_GEQ(3,2,0)
 	device_set_wakeup_enable(d, d->power.wakeup_path);
+#endif /* LINUX_VERSION_IS_GEQ(3,2,0) */
 
 	pci_prepare_to_sleep(dev);