/* read permanent mac addr from register or eFuse */
if (alx_get_perm_macaddr(adpt, adpt->perm_addr)) {
-@@ -2785,6 +2814,8 @@ static struct pci_error_handlers alx_err
+@@ -2783,6 +2812,8 @@ static struct pci_error_handlers alx_err
+ };
+
#ifdef CONFIG_PM_SLEEP
+compat_pci_suspend(alx_suspend);
+compat_pci_resume(alx_resume);
static SIMPLE_DEV_PM_OPS(alx_pm_ops, alx_suspend, alx_resume);
#define ALX_PM_OPS (&alx_pm_ops)
#else
- #define ALX_PM_OPS NULL
- #endif
@@ -2796,7 +2827,12 @@ static struct pci_driver alx_driver = {
.remove = __devexit_p(alx_remove),
.shutdown = alx_shutdown,