From: Andrew Morton Date: Mon, 1 Aug 2005 05:34:40 +0000 (-0700) Subject: [PATCH] skge build fix X-Git-Tag: firefly_0821_release~42506 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3fef3fa24d8d1bb6d82cad195f73917fa6534dac;p=firefly-linux-kernel-4.4.55.git [PATCH] skge build fix Make it compile with CONFIG_PM=n Cc: "Rafael J. Wysocki" Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/net/sk98lin/skge.c b/drivers/net/sk98lin/skge.c index 49bd8c7c3f7d..6ee4771addf1 100644 --- a/drivers/net/sk98lin/skge.c +++ b/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[] = {