Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 87bb5e38 authored by James Ketrenos's avatar James Ketrenos
Browse files

Pulled out a stray KERNEL_VERSION check around the suspend handler.

parent 9ef539d0
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -6709,11 +6709,7 @@ static void __devexit ipw2100_pci_remove_one(struct pci_dev *pci_dev)
}

#ifdef CONFIG_PM
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,11)
static int ipw2100_suspend(struct pci_dev *pci_dev, u32 state)
#else
static int ipw2100_suspend(struct pci_dev *pci_dev, pm_message_t state)
#endif
{
	struct ipw2100_priv *priv = pci_get_drvdata(pci_dev);
	struct net_device *dev = priv->net_dev;