From: Andrew Morton Date: Mon, 1 Aug 2005 05:34:40 +0000 (-0700) Subject: [PATCH] skge build fix X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3fef3fa24d8d1bb6d82cad195f73917fa6534dac;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 49bd8c7c3f7..6ee4771addf 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[] = {