Sfoglia il codice sorgente

[PATCH] skge build fix

Make it compile with CONFIG_PM=n

Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Andrew Morton 20 anni fa
parent
commit
3fef3fa24d
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      drivers/net/sk98lin/skge.c

+ 3 - 0
drivers/net/sk98lin/skge.c

@@ -5206,6 +5206,9 @@ static int skge_resume(struct pci_dev *pdev)
 
 	return 0;
 }
+#else
+#define skge_suspend NULL
+#define skge_resume NULL
 #endif
 
 static struct pci_device_id skge_pci_tbl[] = {