[PATCH] skge build fix
Andrew Morton [Mon, 1 Aug 2005 05:34:40 +0000 (22:34 -0700)]
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>

drivers/net/sk98lin/skge.c

index 49bd8c7..6ee4771 100644 (file)
@@ -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[] = {